/*!
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme dla motywu Blocksy - umożliwia bezpieczną customizację bez ryzyka utraty zmian podczas aktualizacji motywu rodzica.
Author: eVillage
Author URI: https://evillage.pl
Template: blocksy
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.8
Tags: child-theme, blocksy
*/

/*
 * Tutaj możesz dodawać własne style CSS, które nadpiszą lub rozszerzą style motywu rodzica.
 * 
 * Przykład:
 * body {
 *     font-family: 'Your Custom Font', sans-serif;
 * }
 */
.author-box[data-type='type-2'] {
	border-bottom: none !important;
}
.button-icon {
	height: 48px;
	width: 48px;
}
.sticky-phone-button-custom-icon {
	border-radius: 50% !important;
	width: 48px !important;
	height: 48px !important;
}
pre,
code,
samp,
kbd {
	font-size: 14px !important;
	font-family: unset;
}
ul {
	list-style-type: square;
	list-style-position: outside;
}

li::marker {
	color: #e77817;
	font-size: 1.3em;
}
.ev-cluster,
.ev-funnel-cta-link {
	color: #e77817 !important;
	text-decoration: underline;
}
.evpc-carousel__link,
.entry-button {
	color: #e77817;
	justify-content: flex-end;
}
.herohedline1 strong,
.herohedline1 h1 strong {
	color: #e77817 !important;
}
h1 > strong,
h2 > strong,
h3 > strong,
h4 > strong,
h5 > strong,
h6 > strong,
.herohedline1 > h1 > strong {
	color: var(--wp--preset--color--palette-color-1) !important;
}
.entry-button {
	--theme-button-background-initial-color: transparent;
	--theme-button-background-hover-color: transparent;
	--theme-button-text-initial-color: #e77817;
	--theme-button-text-hover-color: #e77817;
	--theme-link-initial-color: #e77817;
	--theme-link-hover-color: #e77817;
	--theme-button-border: none;
	--theme-button-min-height: 0px;
	--theme-button-padding: 0;
	--theme-button-border-radius: 0;
	--theme-button-shadow: none;
	--theme-button-transform: none;
	align-self: stretch;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-decoration: none;
}

.entry-button:hover,
.entry-button:focus-visible {
	color: #e77817;
	background: transparent;
	transform: none;
}

.entry-button::before,
.entry-button svg {
	display: none;
}

.entries[data-archive='default'] .entry-card.card-content {
	--card-inner-spacing: 0px;
	--card-border: 1px solid rgba(15, 23, 42, 0.08);
	background-color: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	overflow: hidden;
	padding: 0;
	box-shadow: none !important;
}
[data-cards='boxed'] .entry-card,
[data-cards='cover'] .entry-card {
	box-shadow: none !important;
}
.entries[data-archive='default'] .entry-card .ct-media-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0;
	background: #f8fafc;
	overflow: hidden;
}

.entries[data-archive='default'] .entry-card .ct-media-container img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto !important;
	object-fit: cover;
	object-position: center center;
}

.entries[data-archive='default'] .entry-card .entry-title {
	margin: 20px 20px 0;
	color: #0f172a;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.25;
}

.entries[data-archive='default'] .entry-card .entry-title a {
	color: inherit;
}

.entries[data-archive='default'] .entry-card .entry-excerpt {
	margin: 12px 20px;
	color: #475569;
	font-size: 15px;
	line-height: 1.7;
}

.entries[data-archive='default'] .entry-card .entry-excerpt p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: inherit;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.entries[data-archive='default'] .entry-card.card-content > .entry-button {
	margin-top: auto;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 20px;
	font-size: 16px;
	line-height: 1.65;
}

@media (max-width: 640px) {
	.entries[data-archive='default'] .entry-card .entry-title {
		margin: 18px 18px 0;
		font-size: 20px;
	}

	.entries[data-archive='default'] .entry-card .entry-excerpt {
		margin-right: 18px;
		margin-left: 18px;
	}

	.entries[data-archive='default'] .entry-card.card-content > .entry-button {
		margin-right: 18px;
		margin-bottom: 18px;
		margin-left: 18px;
	}
}
.entry-content .ev-funnel-item::before {
	content: '';
	position: absolute;
	left: 0.35rem;
	top: 0.62rem;
	width: 6px;
	height: 6px;
	border-radius: 0;
	background: var(--theme-link-color, var(--theme-palette-color-1, #f97316));
	opacity: 0.85;
}
.entry-content a:not(.wp-block-button__link):not(.button):not(.evpc-carousel__card):not(.ev-cta-bar__icon):not(.ev-hero__button)::after,
.ev-auto-toc a::after {
	content: ' ↗';
	display: inline;
	font-size: 0.75em;
	line-height: 1;
	/* margin-left: 0.15em; */
	opacity: 0.8;
	color: var(--theme-link-color, var(--theme-palette-color-1, #f97316));
}
.ev-auto-toc-link {
	color: var(--theme-link-color, var(--theme-palette-color-1, #f97316)) !important;
}
.entry-content h2,
.wp-block-post-content h2 {
	position: relative;
	margin-top: 56px;
	margin-bottom: 24px;
	/* padding: 10px 10px 10px 20px; */
	line-height: 1.2;
	letter-spacing: -0.02em;
	/* border-left: 8px solid #E77817; */
}
.entry-content h3,
.wp-block-post-content h3 {
	position: relative;
	margin-top: 38px;
	margin-bottom: 16px;
	line-height: 1.25;
	letter-spacing: -0.015em;
}
b,
strong {
	font-weight: 500;
}

.ev-cta-bar {
	box-sizing: border-box;
	min-height: 153px;
	padding-top: 36px;
	padding-bottom: 36px;
	padding-left: max(20px, calc((100vw - var(--theme-container-width, 1290px)) / 2));
	padding-right: max(20px, calc((100vw - var(--theme-container-width, 1290px)) / 2));
}

.ev-cta-bar__title {
	font-weight: 400;
}

.ev-cta-bar__icon {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
}

.ev-cta-bar__icon svg {
	width: 48px;
	height: 48px;
}

.ev-cta-bar__icon:hover svg,
.ev-cta-bar__icon:focus-visible svg {
	stroke: #e77817;
}

@media (max-width: 781px) {
	.ev-cta-bar {
		min-height: 0;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.ev-cta-bar__title {
		font-size: 28px !important;
	}

	.ev-cta-bar__icon svg {
		width: 40px;
		height: 40px;
	}
}

.ev-hero {
	box-sizing: border-box;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 32px;
}

.ev-hero.is-layout-flex {
	flex-wrap: nowrap;
	align-items: center;
}

.ev-hero > .wp-block-group,
.ev-hero__content,
.ev-hero__media {
	min-width: 0;
}

.ev-hero__media {
	flex: 1 1 320px;
	max-width: 560px;
	margin: 0;
}

.ev-hero__media img {
	width: 100%;
	height: auto;
	display: block;
}

.ev-hero__content {
	flex: 1 1 280px;
	max-width: 520px;
}

h1.ev-hero__title,
.entry-content h1.ev-hero__title,
.ev-hero__title {
	margin: 0 0 16px;
	line-height: 1.2;
	letter-spacing: 0;
}

.ev-hero__lead {
	margin: 0 0 28px;
	color: #000;
	font-family: 'Red Hat Display', 'Red Hat Text', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 21px;
}

.ev-hero .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	box-sizing: border-box;
	min-width: 195px;
	min-height: 45px;
	padding: 12px 18px 12px 22px;
	border-radius: 0;
	background: #e77817;
	color: #fff;
	font-family: 'Red Hat Display', 'Red Hat Text', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.ev-hero .wp-block-button__link:hover,
.ev-hero .wp-block-button__link:focus-visible {
	background: #e77817;
	color: #fff;
}

.entry-content .ev-cta-bar,
.wp-block-post-content .ev-cta-bar {
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.alignfull.ev-hero,
.alignfull.ev-hero-section {
	box-sizing: border-box;
	padding-right: calc((100% - min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-width, 90vw))) / 2);
	padding-left: calc((100% - min(var(--theme-normal-container-max-width, 1290px), var(--theme-container-width, 90vw))) / 2);
}

.alignfull.ev-hero-section > .ev-hero {
	padding-right: 0;
	padding-left: 0;
}

h1.ev-hero__heading,
.entry-content h1.ev-hero__heading {
	margin: 8px 0 0;
	font-size: 46px;
	font-weight: 600;
	line-height: 61px;
	letter-spacing: 0;
	text-transform: none;
}

@media (max-width: 781px) {
	.ev-hero.is-layout-flex {
		flex-direction: column;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 24px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.ev-hero__content {
		order: 1;
		flex: 1 1 auto;
		max-width: none;
	}

	.ev-hero > .wp-block-group:not(.ev-hero__content) {
		order: 2;
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.ev-hero__media,
	.ev-hero__media img {
		max-width: none;
		width: 100%;
	}

	h1.ev-hero__heading,
	.entry-content h1.ev-hero__heading {
		margin-bottom: 18px;
		font-size: 32px;
		font-weight: 500;
		line-height: 48px;
	}

	h1.ev-hero__title,
	.entry-content h1.ev-hero__title {
		margin-bottom: 18px;
	}

	.ev-hero__lead {
		margin-bottom: 18px;
		color: #190f0f;
		font-family: 'Red Hat Text', sans-serif;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.65;
	}

	.ev-hero .wp-block-button__link {
		min-width: 0;
		min-height: 44px;
		padding: 12px 22px;
		font-size: 16px;
		line-height: 1.2;
	}
}

.evpc-pattern-slide.evpc-carousel__slide {
	flex: none;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	gap: 0;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.is-layout-flex:not(.is-vertical) > .evpc-pattern-slide.evpc-carousel__slide {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

.evpc-pattern-slide > .wp-block-image,
.evpc-pattern-slide .evpc-carousel__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	margin: 0;
	overflow: hidden;
}

.entry-content .evpc-pattern-slide > .wp-block-image img,
.wp-block-post-content .evpc-pattern-slide > .wp-block-image img,
.evpc-pattern-slide .evpc-carousel__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center center;
}

.evpc-pattern-slide .evpc-carousel__content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	padding: 20px;
}

.entry-content .evpc-pattern-slide .evpc-carousel__title,
.wp-block-post-content .evpc-pattern-slide .evpc-carousel__title,
.evpc-pattern-slide .evpc-carousel__excerpt,
.evpc-pattern-slide .evpc-carousel__link {
	margin: 0;
}

.entry-content .evpc-pattern-slide .evpc-carousel__title,
.wp-block-post-content .evpc-pattern-slide .evpc-carousel__title {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: uppercase;
}

.evpc-pattern-slide .evpc-carousel__excerpt {
	line-height: 1.7;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	font-size: 85% !important;
	/* -webkit-line-clamp: 3;
	line-clamp: 3; */
}

.evpc-pattern-slide .evpc-carousel__excerpt:empty {
	display: none;
}

.evpc-pattern-slide .evpc-carousel__link {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: auto;
}

.entry-content .evpc-pattern-slide .evpc-carousel__link a,
.wp-block-post-content .evpc-pattern-slide .evpc-carousel__link a {
	color: #e77817;
	font-size: 16px;
	line-height: 1.65;
	text-decoration: none;
}

.entry-content .evpc-pattern-slide .evpc-carousel__link a:not(.wp-block-button__link):not(.button):not(.ct-button):not(.ev-cta-bar__icon):not(.ev-hero__button)::after,
.wp-block-post-content .evpc-pattern-slide .evpc-carousel__link a:not(.wp-block-button__link):not(.button):not(.ct-button):not(.ev-cta-bar__icon):not(.ev-hero__button)::after {
	content: none;
}

.evpc-pattern-slide .wp-block-buttons {
	width: 100%;
	margin: 0;
}

.evpc-pattern-slide .wp-block-buttons:has(.wp-block-button__link:empty) {
	display: none;
}

.evpc-pattern-slide .entry-button .wp-block-button__link,
.evpc-pattern-slide .wp-block-button .wp-block-button__link {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #e77817;
	font-size: 16px;
	line-height: 1.65;
	text-decoration: none;
}

.evpc-pattern-slide .entry-button .wp-block-button__link:hover,
.evpc-pattern-slide .entry-button .wp-block-button__link:focus-visible,
.evpc-pattern-slide .wp-block-button .wp-block-button__link:hover,
.evpc-pattern-slide .wp-block-button .wp-block-button__link:focus-visible {
	background: transparent;
	color: #e77817;
}

@media (max-width: 781px) {
	.is-layout-flex:not(.is-vertical):has(> .evpc-pattern-slide) {
		flex-direction: column;
		align-items: stretch;
	}

	.is-layout-flex:has(> .evpc-pattern-slide) > .evpc-pattern-slide.evpc-carousel__slide {
		flex: none;
		width: 100%;
	}
}

.entry-content :not(.wp-block-pullquote) > blockquote:not(.is-style-plain),
.wp-block-post-content :not(.wp-block-pullquote) > blockquote:not(.is-style-plain) {
	position: relative;
	margin-block: 36px;
	padding: 2px 0 2px 52px;
	border: 0;
}

.entry-content :not(.wp-block-pullquote) > blockquote:not(.is-style-plain)::before,
.wp-block-post-content :not(.wp-block-pullquote) > blockquote:not(.is-style-plain)::before {
	content: '';
	position: absolute;
	top: 1px;
	left: 0;
	width: 42px;
	height: 32px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e77817' d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E")
		left top / contain no-repeat;
}

.entry-content :not(.wp-block-pullquote) > blockquote.has-text-align-center:not(.is-style-plain),
.wp-block-post-content :not(.wp-block-pullquote) > blockquote.has-text-align-center:not(.is-style-plain) {
	padding: 36px 0 0;
}

.entry-content :not(.wp-block-pullquote) > blockquote.has-text-align-center:not(.is-style-plain)::before,
.wp-block-post-content :not(.wp-block-pullquote) > blockquote.has-text-align-center:not(.is-style-plain)::before {
	top: 0;
	right: 0;
	left: 0;
	margin-inline: auto;
}

.entry-content :not(.wp-block-pullquote) > blockquote.has-text-align-right:not(.is-style-plain),
.wp-block-post-content :not(.wp-block-pullquote) > blockquote.has-text-align-right:not(.is-style-plain) {
	padding: 2px 52px 2px 0;
}

.entry-content :not(.wp-block-pullquote) > blockquote.has-text-align-right:not(.is-style-plain)::before,
.wp-block-post-content :not(.wp-block-pullquote) > blockquote.has-text-align-right:not(.is-style-plain)::before {
	right: 0;
	left: auto;
}

.ev-author-page {
	margin-top: 10px;
	margin-bottom: 50px;
}
.widthcontent,
.ev-cta-bar2 {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--theme-normal-container-max-width, 1290px);
}
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
	color: var(--theme-link-color, var(--theme-palette-color-1, #f97316)) !important;
	font-weight: 400;
}
