/**
 * Single blog post design.
 */

/* Hero ------------------------------------------------------------------- */

.wc-blog-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 0;
	background:
		radial-gradient(circle at 88% 0%, rgba(29, 78, 216, 0.14), transparent 34%),
		linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
	color: #4b5563;
}

.wc-blog-hero__inner {
	position: relative;
	z-index: 1;
}

.wc-blog-hero__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 24px;
}

.wc-blog-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wc-blue);
	font-size: 13px;
	font-weight: 600;
}

.wc-blog-hero__back:hover {
	color: var(--wc-blue-dark);
}

.wc-blog-hero__tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(29, 78, 216, 0.08);
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wc-blog-hero__title {
	max-width: 1000px;
	margin: 0 0 18px;
	color: #0b1130;
	font-size: clamp(38px, 4.6vw, 62px);
	letter-spacing: -0.03em;
	line-height: 1.06;
}

.wc-blog-hero__lead {
	max-width: 780px;
	margin: 0;
	color: #4b5563;
	font-size: 18px;
	line-height: 1.75;
}

.wc-blog-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid #dfe7fa;
}

.wc-blog-hero__author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wc-blog-hero__author-icon {
	display: grid;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 50%;
	background: rgba(29, 78, 216, 0.1);
	color: #1d4ed8;
	font-size: 14px;
}

.wc-blog-hero__author strong {
	display: block;
	color: #111827;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
}

.wc-blog-hero__author small {
	display: block;
	color: #5b6678;
	font-size: 11px;
	line-height: 1.4;
}

.wc-blog-hero__reading {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #5b6678;
	font-size: 12.5px;
}

.wc-blog-hero__reading i {
	color: #1d4ed8;
}

.wc-blog-hero__media {
	overflow: hidden;
	width: 100%;
	max-width: 1000px;
	margin: 40px auto 0;
	border: 1px solid #e5e9f5;
	border-radius: 24px;
	box-shadow: 0 24px 55px rgba(11, 17, 48, 0.12);
	aspect-ratio: 16 / 9;
}

.wc-blog-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Article layout --------------------------------------------------------- */

.wc-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 54px;
	align-items: start;
	padding-top: 60px;
	padding-bottom: 90px;
}

.wc-blog-post__body {
	min-width: 0;
}

.wc-blog-sidebar {
	display: grid;
	gap: 18px;
}

.wc-blog-sidebar__card {
	padding: 24px;
	border: 1px solid #e5e9f5;
	border-radius: 16px;
	background: #f8fbff;
}

.wc-blog-sidebar__eyebrow {
	display: block;
	margin-bottom: 14px;
	color: #1d4ed8;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.wc-blog-toc {
	display: grid;
	gap: 9px;
	max-height: 300px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #b8c3d9 transparent;
	list-style: none;
	counter-reset: toc;
}

.wc-blog-toc::-webkit-scrollbar {
	width: 6px;
}

.wc-blog-toc::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #b8c3d9;
}

.wc-blog-toc::-webkit-scrollbar-track {
	background: transparent;
}

.wc-blog-toc:focus-visible {
	border-radius: 6px;
	outline: 2px solid var(--wc-blue);
	outline-offset: 3px;
}

.wc-blog-toc li {
	margin: 0;
	counter-increment: toc;
}

.wc-blog-toc a {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 8px;
	color: #4b5563;
	font-size: 13px;
	line-height: 1.45;
	text-decoration: none;
}

.wc-blog-toc a::before {
	content: counter(toc, decimal-leading-zero);
	color: #1d4ed8;
	font-size: 10.5px;
	font-weight: 700;
}

.wc-blog-toc a:hover {
	color: #1d4ed8;
}

.wc-blog-sidebar__cta {
	padding: 26px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0%, rgba(29, 78, 216, 0.55), transparent 46%),
		linear-gradient(145deg, #080d26 0%, #111a42 100%);
	color: #c7d2ea;
}

.wc-blog-sidebar__cta .wc-blog-sidebar__eyebrow {
	color: #8fb0ff;
}

.wc-blog-sidebar__cta h3 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
	line-height: 1.25;
}

.wc-blog-sidebar__cta p {
	margin: 0 0 18px;
	color: #b9c6e3;
	font-size: 13.5px;
	line-height: 1.7;
}

.wc-blog-sidebar__cta .wc-btn {
	width: 100%;
	justify-content: center;
}

@media (min-width: 1025px) {
	.wc-blog-sidebar {
		position: sticky;
		top: 24px;
	}
}

/* Article ---------------------------------------------------------------- */

/* Article ---------------------------------------------------------------- */

.wc-blog-post {
	background: #fff;
}

.wc-blog-post__body {
	scroll-margin-top: 24px;
}

.wc-blog-post__body #content,
.wc-blog-post__body .site-content,
.wc-blog-post__body .ast-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wc-blog-post__body .elementor {
	width: 100% !important;
}

.wc-blog-post__body .elementor > .e-con.e-parent {
	margin-top: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.wc-blog-post__body .e-con-inner {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

.wc-blog-post__body .elementor > .e-con > .e-con-inner {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wc-blog-post__body .e-con-full {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 0 !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
	gap: 0 !important;
	background: transparent !important;
}

.wc-blog-post__body .e-con-full:last-child {
	margin-bottom: 0 !important;
}

.wc-blog-post__body .elementor-widget {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.wc-blog-post__body .elementor-widget-heading h1 {
	display: none !important;
}

.wc-blog-post__body .elementor > .e-con > .e-con-inner > .e-con-full:first-child .elementor-widget-image {
	display: none !important;
}

.wc-blog-post__body .elementor-widget-heading .elementor-heading-title {
	color: #111827 !important;
	font-family: "Poppins", sans-serif !important;
	letter-spacing: -0.02em !important;
	line-height: 1.25 !important;
}

.wc-blog-post__body h2.elementor-heading-title {
	margin: 34px 0 14px !important;
	font-size: clamp(26px, 3vw, 36px) !important;
}

.wc-blog-post__body h3.elementor-heading-title {
	margin: 28px 0 12px !important;
	font-size: clamp(20px, 2.2vw, 26px) !important;
}

.wc-blog-post__body h4.elementor-heading-title {
	margin: 24px 0 10px !important;
	font-size: 20px !important;
}

.wc-blog-post__body .elementor-widget-text-editor p,
.wc-blog-post__body .elementor-widget-text-editor li {
	margin: 0 0 18px !important;
	color: #4b5563 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16.5px !important;
	line-height: 1.85 !important;
}

.wc-blog-post__body .elementor-widget-text-editor strong {
	color: #111827 !important;
}

.wc-blog-post__body .elementor-widget-text-editor a {
	color: #1d4ed8 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.wc-blog-post__body .elementor-widget-text-editor ul,
.wc-blog-post__body .elementor-widget-text-editor ol {
	margin: 0 0 20px 22px !important;
	padding: 0 !important;
	list-style: disc !important;
}

.wc-blog-post__body .elementor-widget-text-editor ol {
	list-style: decimal !important;
}

.wc-blog-post__body .elementor-widget-text-editor li {
	margin-bottom: 8px !important;
}

.wc-blog-post__body .elementor-widget-image {
	margin: 30px 0 !important;
}

.wc-blog-post__body .elementor-widget-image img {
	width: 100% !important;
	height: auto !important;
	border-radius: 18px !important;
	box-shadow: 0 18px 44px rgba(11, 17, 48, 0.1);
}

.wc-blog-post__body .elementor-divider {
	margin: 36px 0 !important;
}

.wc-blog-post__body .elementor-divider-separator {
	border-top: 1px solid #e5e9f5 !important;
}

.wc-blog-post__body .e-con-full:has(.elementor-button[href="/#usluge"]),
.wc-blog-post__body .elementor-widget-shortcode {
	display: none !important;
}

/* Related posts ---------------------------------------------------------- */

.wc-blog-post__body .elementor-shortcode {
	margin-top: 24px !important;
}

.wc-blog-post__body .elementor-shortcode h2 {
	margin: 0 0 14px !important;
	color: #111827 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 24px !important;
	line-height: 1.3 !important;
}

.wc-blog-post__body .elementor-shortcode br {
	display: none !important;
}

.wc-blog-post__body .elementor-shortcode ul {
	display: grid !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wc-blog-post__body .elementor-shortcode li {
	margin: 0 !important;
}

.wc-blog-post__body .elementor-shortcode a {
	display: flex !important;
	align-items: center !important;
	gap: 9px !important;
	padding: 12px 14px !important;
	border: 1px solid #e5e9f5 !important;
	border-radius: 10px !important;
	color: #111827 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 14px !important;
	text-decoration: none !important;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.wc-blog-post__body .elementor-shortcode a::before {
	content: "\f105";
	color: #1d4ed8;
	font-family: "Font Awesome 5 Free";
	font-size: 11px;
	font-weight: 900;
}

.wc-blog-post__body .elementor-shortcode a:hover {
	border-color: rgba(29, 78, 216, 0.28) !important;
	background: #f7f9ff !important;
	color: #1d4ed8 !important;
}

@media (max-width: 1024px) {
	.wc-blog-layout {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-top: 48px;
		padding-bottom: 70px;
	}

	.wc-blog-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wc-blog-sidebar__cta .wc-btn {
		width: auto;
	}
}

@media (max-width: 900px) {
	.wc-blog-hero__media {
		border-radius: 18px;
	}
}

@media (max-width: 640px) {
	.wc-blog-hero {
		padding: 52px 0 0;
	}

	.wc-blog-hero__title {
		font-size: clamp(32px, 9vw, 42px);
	}

	.wc-blog-hero__lead {
		font-size: 15.5px;
	}

	.wc-blog-hero__media {
		margin-top: 28px;
		border-radius: 16px;
	}

	.wc-blog-layout {
		gap: 28px;
		padding-top: 40px;
		padding-bottom: 64px;
	}

	.wc-blog-sidebar {
		grid-template-columns: 1fr;
	}

	.wc-blog-sidebar__cta .wc-btn {
		width: 100%;
	}

	.wc-blog-post__body h2.elementor-heading-title {
		font-size: 27px !important;
	}

	.wc-blog-post__body h3.elementor-heading-title {
		font-size: 22px !important;
	}

	.wc-blog-post__body .elementor-widget-text-editor p,
	.wc-blog-post__body .elementor-widget-text-editor li {
		font-size: 15.5px !important;
	}
}

/* Inline contextual links inside article body. */
.wc-blog-inline-links {
	position: relative;
	margin: 39px 0;
	padding: 24px 26px 26px;
	border: 1px solid rgba(29, 78, 216, 0.14);
	border-left: 4px solid var(--wc-blue);
	border-radius: 18px;
	background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
	overflow: hidden;
	text-align: start;
}

.wc-blog-inline-links::after {
	content: "";
	position: absolute;
	top: -80px;
	right: -60px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: rgba(29, 78, 216, 0.06);
	pointer-events: none;
}

.wc-blog-inline-links__label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--wc-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: start;
}

.wc-blog-inline-links__label i {
	font-size: 12px;
}

.wc-blog-inline-links__title {
	position: relative;
	z-index: 1;
	margin: 0 0 16px;
	color: var(--wc-navy);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	text-align: start;
}

.wc-blog-inline-links ul {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-blog-inline-links li {
	margin: 0;
}

.wc-blog-inline-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 14px 15px;
	border: 1px solid rgba(17, 26, 66, 0.08);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(11, 17, 48, 0.04);
	color: var(--wc-heading);
	text-decoration: none !important;
	text-align: start;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wc-blog-inline-links a:hover {
	border-color: rgba(29, 78, 216, 0.3);
	box-shadow: 0 12px 26px rgba(29, 78, 216, 0.1);
	transform: translateY(-2px);
}

.wc-blog-inline-links__icon {
	display: grid;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 10px;
	background: #eef5ff;
	color: var(--wc-blue);
	font-size: 14px;
}

.wc-blog-inline-links__copy {
	display: grid;
	flex: 1;
	gap: 3px;
	min-width: 0;
	text-align: start;
}

.wc-blog-inline-links__copy strong {
	color: var(--wc-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	text-align: start;
}

.wc-blog-inline-links__copy small {
	color: #6b7280;
	font-size: 11.5px;
	line-height: 1.35;
	text-decoration: none;
	text-align: start;
}

.wc-blog-inline-links__arrow {
	flex: 0 0 auto;
	color: #9aa4ba;
	font-size: 12px;
	transition: color 0.2s ease, transform 0.2s ease;
}

.wc-blog-inline-links a:hover .wc-blog-inline-links__arrow {
	color: var(--wc-blue);
	transform: translateX(2px);
}

@media (max-width: 768px) {
	.wc-blog-inline-links {
		padding: 20px;
	}

	.wc-blog-inline-links ul {
		grid-template-columns: 1fr;
	}

	.wc-blog-inline-links__title {
		font-size: 16px;
	}
}



/* High-specificity overrides for the inline links box inside Elementor article content. */
.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links li {
	margin: 0 !important;
	list-style: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links li::marker,
.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links li::before {
	content: none !important;
	display: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links a {
	color: var(--wc-heading) !important;
	text-decoration: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links a * {
	text-decoration: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links .wc-blog-inline-links__label {
	color: var(--wc-blue) !important;
	text-decoration: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links .wc-blog-inline-links__title {
	margin: 0 0 16px !important;
	color: var(--wc-navy) !important;
	font-size: 18px !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	text-align: start !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links .wc-blog-inline-links__copy strong {
	color: var(--wc-heading) !important;
	text-decoration: none !important;
}

.wc-blog-post__body .elementor-widget-text-editor .wc-blog-inline-links .wc-blog-inline-links__copy small {
	color: #6b7280 !important;
	text-decoration: none !important;
}
