/* Enduro Blog Core: article blocks (Na kratko, Nasvet, Koraki), product cards and the featured photo credit. */

.zank-post-content-wrapper .is-style-na-kratko,
.editor-styles-wrapper .is-style-na-kratko {
	list-style: none;
	margin: 28px 0 32px;
	padding: 22px 24px 18px 24px;
	background: #f7f7f8;
	border-left: 4px solid #e60b09;
	border-radius: 0 10px 10px 0;
}

.zank-post-content-wrapper .is-style-na-kratko::before,
.editor-styles-wrapper .is-style-na-kratko::before {
	content: "Na kratko";
	display: block;
	margin-bottom: 10px;
	font-family: var(--zank-font-heading, "Manrope", sans-serif);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #161616;
}

.zank-post-content-wrapper .is-style-na-kratko li,
.editor-styles-wrapper .is-style-na-kratko li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 20px;
	color: #161616;
}

.zank-post-content-wrapper .is-style-na-kratko li::before,
.editor-styles-wrapper .is-style-na-kratko li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e60b09;
}

.zank-post-content-wrapper .is-style-nasvet,
.editor-styles-wrapper .is-style-nasvet {
	margin: 28px 0;
	padding: 18px 22px;
	background: #f4f6f8;
	border-left: 4px solid #161616;
	border-radius: 0 10px 10px 0;
}

.zank-post-content-wrapper .is-style-nasvet::before,
.editor-styles-wrapper .is-style-nasvet::before {
	content: "Nasvet servisa";
	display: block;
	margin-bottom: 6px;
	font-family: var(--zank-font-heading, "Manrope", sans-serif);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #e60b09;
}

.zank-post-content-wrapper .is-style-nasvet p:last-child,
.editor-styles-wrapper .is-style-nasvet p:last-child {
	margin-bottom: 0;
}

.zank-post-content-wrapper .is-style-koraki,
.editor-styles-wrapper .is-style-koraki {
	list-style: none;
	counter-reset: enb-korak;
	margin: 24px 0;
	padding: 0;
}

.zank-post-content-wrapper .is-style-koraki li,
.editor-styles-wrapper .is-style-koraki li {
	counter-increment: enb-korak;
	position: relative;
	margin: 0 0 14px;
	padding: 2px 0 0 46px;
	min-height: 32px;
}

.zank-post-content-wrapper .is-style-koraki li::before,
.editor-styles-wrapper .is-style-koraki li::before {
	content: counter(enb-korak);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #161616;
	color: #fff;
	font-family: var(--zank-font-heading, "Manrope", sans-serif);
	font-weight: 700;
	font-size: 14px;
	line-height: 32px;
	text-align: center;
}

/* Product cards */
.enb-izdelki {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin: 28px 0 32px;
}

.enb-izdelki--1 {
	grid-template-columns: minmax(0, 1fr);
}

.enb-izdelki--1 .enb-izdelek {
	flex-direction: row;
	align-items: center;
}

.enb-izdelki--1 .enb-izdelek__media {
	flex: 0 0 42%;
	aspect-ratio: 4 / 3;
}

.enb-izdelek {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #eaebed;
	border-radius: 12px;
	color: #161616;
	text-decoration: none !important;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.enb-izdelek:hover,
.enb-izdelek:focus-visible {
	border-color: #161616;
	box-shadow: 0 10px 28px rgba(22, 22, 22, .08);
	transform: translateY(-2px);
}

.enb-izdelek__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 12px;
	background: #fff;
}

.enb-izdelek__media img,
.single-post .zank-blog-details-area .zank-post-content-wrapper .enb-izdelek__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	border-radius: 0;
}

.enb-izdelek__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 16px;
	border-top: 1px solid #eaebed;
}

.enb-izdelki--1 .enb-izdelek__body {
	border-top: 0;
	border-left: 1px solid #eaebed;
	align-self: stretch;
	justify-content: center;
}

.enb-izdelek__brand {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #6a6a6a;
}

.enb-izdelek__name {
	font-family: var(--zank-font-heading, "Manrope", sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.enb-izdelek__price {
	margin-top: 4px;
	font-weight: 700;
}

.enb-izdelek__price ins {
	text-decoration: none;
}

.enb-izdelek__price del {
	margin-right: 4px;
	font-weight: 400;
	color: #6a6a6a;
}

.enb-izdelek.is-sale .enb-izdelek__price ins {
	color: #e60b09;
}

.enb-izdelek__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	font-size: 13px;
}

.enb-izdelek__stock {
	color: #398f14;
	font-weight: 600;
}

.enb-izdelek__cta {
	padding: 6px 12px;
	border-radius: 6px;
	background: #161616;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.enb-izdelek:hover .enb-izdelek__cta {
	background: #e60b09;
}

@media (max-width: 575px) {
	.enb-izdelki--1 .enb-izdelek {
		flex-direction: column;
	}

	.enb-izdelki--1 .enb-izdelek__media {
		flex-basis: auto;
		width: 100%;
	}

	.enb-izdelki--1 .enb-izdelek__body {
		border-left: 0;
		border-top: 1px solid #eaebed;
	}
}

/* Featured photo credit */
.enb-hero {
	position: relative;
	display: block;
}

.enb-photo-credit {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(22, 22, 22, .62);
	color: #fff;
	font-size: 11px;
	line-height: 1.4;
}
