/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

label {
    font-size: 13px;
}

ol {
    counter-reset: item;
    list-style: none;
}

ol > li {
    counter-increment: item;
}

ol > li::before {
    content: counters(item, ".") ". ";
}

ol.wp-block-list[style*="lower-alpha"] {
    list-style-type: lower-alpha;
}

ol.wp-block-list[style*="lower-alpha"] > li {
    counter-increment: none;
}

ol.wp-block-list[style*="lower-alpha"] > li::before {
    content: none !important;
    display: none !important;
}

body.page-id-1436 a:hover {
    color: #7e92ab !important;
}
body.page-id-1436 #menu-secondary-menu li:not(.menu-socials) .ct-menu-link > i, 
body.page-id-1436 .ct-footer .ct-widget.widget_nav_menu ul li:not(.menu-socials) a > i {
    color: #7e92ab !important;
}
body.page-id-1436 .ct-header [data-id="menu"] > ul > li.current-menu-item > a,
body.page-id-1436 .ct-header [data-id="menu"] > ul > li:hover > a {
    color: #7e92ab !important;
}
body.page-id-1436 .ct-header [data-id="menu"] > ul > li.current-menu-item > a::after,
body.page-id-1436 .ct-header [data-id="menu"] > ul > li:hover > a::after {
    background-color: #7e92ab !important;
}
body.page-id-1436 .ct-header [data-id="button"] .ct-button {
    background-color: #7e92ab !important;
    color: #fff !important;
}
body.page-id-1436 .ct-header [data-id="button"] .ct-button:hover {
    background-color: #fff !important;
    color: #2b2748 !important;
}
body.page-id-1436 .ct-back-to-top:not(:hover) {
    background-color: #7e92ab !important;
}

a {
    text-decoration: none !important;
}

b, strong {
    font-weight: 700 !important;
}

#header [data-column-set="3"]>div {
    display: flex;
    justify-content: space-between;
}
#menu-secondary-menu .ct-menu-link > i,
.ct-footer .ct-widget.widget_nav_menu ul li a > i {
    font-size: 15px;
    color: #237E75;
    margin-right: 10px;
}
#menu-secondary-menu .menu-socials .ct-menu-link > i,
.ct-footer .ct-widget.widget_nav_menu ul li.menu-socials a > i {
    font-size: 16px;
    color: #fff;
    margin-right: 0;
}

#header-menu-1 .sub-menu a,
#header-menu-1 .sub-menu .ct-menu-link {
    color: #ffffff !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

#header-menu-1 .sub-menu li.current-menu-item > a[href*="#"],
#header-menu-1 .sub-menu li.current_page_item > a[href*="#"],
#header-menu-1 .sub-menu li.current-menu-ancestor > a[href*="#"],
#header-menu-1 .sub-menu li.current-menu-parent > a[href*="#"],
#header-menu-1 .sub-menu a[href*="#"][aria-current="page"] {
    color: #ffffff !important;
    font-weight: 400 !important;
    border-color: transparent !important;
}

#header-menu-1 .sub-menu li.current-menu-item > a:not([href*="#"]),
#header-menu-1 .sub-menu li.current_page_item > a:not([href*="#"]),
#header-menu-1 .sub-menu a:not([href*="#"])[aria-current="page"] {
    color: #2cc6b7 !important;
    font-weight: 600 !important;
}

#header-menu-1 .sub-menu li > a:hover,
#header-menu-1 .sub-menu li.current-menu-item > a:hover,
#header-menu-1 .sub-menu li.current_page_item > a:hover,
#header-menu-1 .sub-menu li.current-menu-ancestor > a:hover,
#header-menu-1 .sub-menu li.current-menu-parent > a:hover,
#header-menu-1 .sub-menu li > a.ct-menu-link:hover {
    color: #2cc6b7 !important;
}

#header-menu-1 .sub-menu li.current-menu-item > a.crkb-anchor-active,
#header-menu-1 .sub-menu li.current_page_item > a.crkb-anchor-active,
#header-menu-1 .sub-menu li.current-menu-ancestor > a.crkb-anchor-active,
#header-menu-1 .sub-menu li.current-menu-parent > a.crkb-anchor-active,
#header-menu-1 .sub-menu a.crkb-anchor-active {
    color: #2cc6b7 !important;
    font-weight: 600 !important;
}

.counter-box {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex: 0 0 auto;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(140%);
    -webkit-backdrop-filter: blur(40px) saturate(140%);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.cf7-form {
    font-size: 14px;
}
.cf7-row {
    display: flex;
    gap: 30px;
}
.cf7-col {
    flex: 1;
    margin-bottom: 25px;
}
.cf7-form label {
    font-size: 13px !important;
    font-weight: 400 !important;
    font-style: italic;
}
.cf7-form a {
    color: #fff;
}
.cf7-form a:hover {
    color: #000;
}
.cf7-group {
    margin-bottom: 25px;
}
.cf7-acceptance {
    text-align: center;
}
.cf7-acceptance input[type="checkbox"] {
    margin-right: 5px;
}
.cf7-acceptance a {
    font-weight: 700;
}
.form-control {
    font-size: 14px !important;
    font-style: normal !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-color: #fff !important;
    padding: 0 !important;
}
.cf7-submit {
    display: flex;
    justify-content: center;
}
.cf7-submit .wpcf7-spinner {
    display: none;
}
.wpcf7-submit {
    background-color: #fff;
    color: #000;
    padding-left: 35px;
    padding-right: 35px;
}
.wpcf7-submit:hover {
    background-color: #000;
    color: #fff;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 1;
}
.wpcf7 .wpcf7-not-valid-tip {
    font-weight: 700;
}

.stk-block-timeline__date {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    width: 100px;
    height: 100px;
    border-radius: 100%;
}
.stk-block-timeline--right .stk-block-timeline__date {
    justify-self: end;
}

/* WooCommerce*/
.woocommerce-message, .woocommerce-error {
    font-size: 13px;
}
:is(.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received) {
    border-radius: 10px;
}
.woocommerce-product-gallery .ct-media-container > img {
    border-radius: 30px;
}
.single-product .product_title {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px !important;
}
.single-product .price > .woocommerce-Price-amount,
.single-product .sale-price .woocommerce-Price-amount.amount  {
    color: #237E75;
    margin-right: 5px;
}
.single-product .sale-price del > .woocommerce-Price-amount.amount {
    color: #fff;
}
.single-product .woocommerce-price-suffix {
    font-weight: 600;
    font-style: italic;
}
.single-product .woocommerce-product-details__short-description ul,
.training-module ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.single-product .woocommerce-product-details__short-description ul > li,
.training-module ul > li {
    position: relative;
    padding-left: 15px;
    line-height: 1.55;
}
.single-product .woocommerce-product-details__short-description ul > li::before,
.training-module ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    background-color: #237E75;
    width: 6px;
    height: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.single-product .ct-product-add-to-cart {
    margin-top: 30px;
}
.single-product .ct-cart-actions {
    gap: 30px;
}
.single-product div.quantity input[type=number],
.woocommerce-cart .quantity input[type=number] {
    border-radius: 5px !important;
}
.woocommerce button.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a:hover {
    background-color: #fff !important;
    color: #237E75 !important;
}
.product[class*=gallery] .entry-summary-items > * {
    margin-bottom: 25px;
}
.product > .woocommerce-tabs {
    padding-top: 0;
}
.product > .woocommerce-tabs hr {
    background-color: #fff;
}
.woocommerce-tabs .wc-tabs {
    display: none !important;
}

.single-product .iworks-omnibus {
    font-style: italic;
}

.stock.in-stock,
.stock.out-of-stock,
.out-of-stock-badge,
.onsale {
    display: none !important;
}
.single-product .woocommerce-product-details__short-description hr {
    background: #fff;
    margin: 25px 0;
}

.training-program {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.training-module {
    padding: 10px 0;
}

.training-module h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.2;
}
.training-module ul {
    padding-left: 20px;
}

.woocommerce-cart .woocommerce-cart-form .shop_table th {
    border-bottom-width: 1px;
    border-bottom-color: #fff;
}
.woocommerce-cart .woocommerce-cart-form .shop_table th,
.woocommerce-cart .woocommerce-cart-form .shop_table td {
    font-size: 14px;
}

.woocommerce-cart-form__contents .coupon {
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.woocommerce-cart-form__contents .coupon input {
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 10px;
    margin: 0;
}
.woocommerce-cart-form__contents .coupon input:focus {
    border-color: transparent;
}
.woocommerce-cart-form__contents .coupon p {
    font-size: 13px;
    margin: 0;
}
.woocommerce-cart-form__contents .coupon .button {
    background-color: transparent;
    color: #237E75;
}
.woocommerce-cart-form__contents .coupon .button:hover,
.woocommerce-cart-form__contents .coupon .button:focus {
    background-color: transparent !important;
    color: #fff !important;
}
.woocommerce-cart .woocommerce-cart-form .button[name=update_cart] {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}
.woocommerce-cart .woocommerce-cart-form .button[name=update_cart]:hover,
.woocommerce-cart .woocommerce-cart-form .button[name=update_cart]:focus {
    background-color: #fff;
    border-color: #fff;
}
[class*=ct-woocommerce] .shop_table [class*=product-thumbnail] img {
    border-radius: 10px;
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout .ct-order-review {
    background-color: rgba(42, 157, 144, 0.3);
    border-radius: 10px;
}
.woocommerce-cart .cart_totals th,
.woocommerce-checkout .ct-order-review th,
.woocommerce-cart .cart_totals td,
.woocommerce-checkout .ct-order-review td,
.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order-received .woocommerce-table--order-details td {
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0;
}

.woocommerce-checkout .ct-order-review .wc_payment_method.payment_method_imoje img {
    background-color: #fff;
    border-radius: 5px;
    max-height: 50px !important;
    padding: 10px;
}

#payment ul.payment_methods > li.wc_payment_method {
    border-radius: 10px;
}
#payment ul.payment_methods > li.wc_payment_method,
#payment ul.payment_methods .payment_box {
    border-color: #fff;;
}

.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text p {
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.6;
    margin-bottom: 20px;
}

.woocommerce-cart .wc-backward:hover,
.woocommerce-cart .wc-backward:focus {
    background-color: #fff;
    color: #237E75;
}

.woocommerce-checkout .ct-customer-details > .col2-set {
    display: flex;
    flex-direction: column;
}

.woocommerce-order-received .woocommerce-order-details {
    padding: 20px 20px 0 20px;
}
.woocommerce-customer-details .woocommerce-column__title {
    padding: 0 20px;
}
.woocommerce-customer-details address {
    font-size: 14px;
    padding: 20px;
}
.woocommerce-customer-details--phone {
    margin-bottom: 0;
}

/* Szkolenia otwarte */

.crkb-open-trainings {
	--crkb-accent: #2cc6b7;
	--crkb-text: #ffffff;
	--crkb-muted: rgba(255, 255, 255, .78);
	--crkb-line: rgba(255, 255, 255, .78);

	color: var(--crkb-text);
}

.crkb-training-card {
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr) 210px;
	gap: 40px;
	align-items: center;
	padding: 30px 0;
	border-bottom: 1px solid var(--crkb-line);
}

.crkb-training-card:first-child {
	padding-top: 0;
}

.crkb-training-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 168px;
	height: 120px;
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
}

.crkb-training-image {
	display: block;
	width: auto;
	height: auto;
	object-fit: cover;
    object-position: center;
}

.crkb-training-title {
    font-size: 21px;
	font-weight: 600;
	line-height: 1.1;
    letter-spacing: -1px;
	margin: 0 0 10px;
}

.crkb-training-title a {
	color: #ffffff;
	text-decoration: none;
}

.crkb-training-title a:hover {
	color: var(--crkb-accent);
}

.crkb-training-excerpt {
	max-width: 400px;
	font-size: 14px;
	line-height: 1.7;
	font-style: italic;
	margin: 0;
}

.crkb-training-details {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.crkb-training-detail {
	min-width: 0;
}

.crkb-training-detail dt {
	margin: 0 0 4px;
	color: var(--crkb-accent);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.crkb-training-detail dd {
	margin: 0;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.35;
}

.crkb-training-action {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 18px;
	text-align: right;
}

.crkb-training-price {
    font-size: 20px;
	font-weight: 700;
    line-height: 1.7;
	color: #fff;
	letter-spacing: 0;
}

.crkb-training-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--crkb-accent);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

.crkb-training-button:hover {
	color: #ffffff;
}

.crkb-training-empty {
	color: #ffffff;
	font-size: 18px;
}

.cmplz-cookiebanner {
    grid-gap: 0 !important;
}

/* Lekkie ikony SVG zamiast Font Awesome */
i.fa-solid.fa-phone,
i.fa-solid.fa-paper-plane,
i.fa-brands.fa-linkedin {
	display: inline-block;
	width: 1em;
	height: 1em;
	min-width: 1em;
	background-color: currentColor;
	background-image: none !important;
	font-style: normal;
	vertical-align: -0.12em;

	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

i.fa-solid.fa-phone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02z'/%3E%3C/svg%3E");
}

i.fa-solid.fa-paper-plane {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21 23 12 2 3v7l15 2-15 2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 21 23 12 2 3v7l15 2-15 2z'/%3E%3C/svg%3E");
}

i.fa-brands.fa-linkedin {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM8.34 18H5.67V9.4h2.67V18zM7 8.23a1.55 1.55 0 1 1 0-3.1 1.55 1.55 0 0 1 0 3.1zM18.33 18h-2.66v-4.18c0-1-.02-2.28-1.39-2.28-1.39 0-1.6 1.09-1.6 2.21V18H10V9.4h2.56v1.18h.04c.36-.68 1.23-1.39 2.53-1.39 2.7 0 3.2 1.78 3.2 4.1V18z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zM8.34 18H5.67V9.4h2.67V18zM7 8.23a1.55 1.55 0 1 1 0-3.1 1.55 1.55 0 0 1 0 3.1zM18.33 18h-2.66v-4.18c0-1-.02-2.28-1.39-2.28-1.39 0-1.6 1.09-1.6 2.21V18H10V9.4h2.56v1.18h.04c.36-.68 1.23-1.39 2.53-1.39 2.7 0 3.2 1.78 3.2 4.1V18z'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
	.crkb-training-card {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 32px;
	}

	.crkb-training-media {
		width: 168px;
		height: 120px;
	}

	.crkb-training-action {
		grid-column: 2;
		align-items: flex-start;
		text-align: left;
	}

	.crkb-training-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.crkb-training-card {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 34px 0;
	}

	.crkb-training-media {
		width: 100%;
		max-width: 168px;
		height: 120px;
	}

	.crkb-training-action {
		grid-column: auto;
	}

	.crkb-training-details {
		grid-template-columns: 1fr;
	}
}

[data-footer*="type-1"] .ct-footer {
    background-color: #000;
    background-image: none;
}

.ct-footer-copyright ul {
    list-style-type: none;
    display: flex ;
    justify-content: center;
    gap: 25px;
}

.ct-footer .ct-widget.widget_nav_menu ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
}

.entry-content .privacy-policy a:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .ct-header-text,
    .ct-header-text ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    .ct-header-text .label {
        display: none;
    }
    .ct-header-text i {
        font-size: 15px !important;
    }

    .stk-block-timeline>.stk-inner-blocks {
        padding-left: 0;
        column-gap: 0;
    }
    .stk-block-timeline:not(.stk-is-last)>.stk-inner-blocks:after {
        display: none;
    }
    .stk-block-timeline .stk-block-timeline__date {
        margin-bottom: 20px;
    }
    .stk-block-timeline--left .stk-block-timeline__date,
    .stk-block-timeline--right .stk-block-timeline__date {
        justify-self: center;
    }

    .cf7-row {
        flex-direction: column;
        gap: 0;
    }
    .cf7-col {
        text-align: left;
    }

    .ct-footer [data-row="middle"] .ct-container {
        gap: 30px !important;
        padding-bottom: 0 !important;
    }
    .ct-footer .ct-widget.widget_nav_menu ul,
    .ct-footer-copyright ul {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }
}

@media screen and (max-width: 991px) {
    .woocommerce-cart .ct-container-full,
    .woocommerce-checkout .ct-container-full {
        padding-top: 190px;
    }
}

@media screen and (min-width: 992px) {
    .hero {
        background: linear-gradient(180deg, #0F100D 0%, #0E0E0E 50%, #000 78.37%);
    }
    .hero > .stk-row::before {
        content: url("https://crkb.pl/wp-content/uploads/2026/03/dr-cezary-kurkowski-mba.webp");
        position: absolute;
        top: 150px;
    }

    .woocommerce-cart .ct-container-full,
    .woocommerce-checkout .ct-container-full {
        padding-top: 240px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1919px) {
    .hero > .stk-row::before {
        right: 0;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1399px) {
    .ct-footer [data-row*="middle"] .ct-container {
        display: flex;
        gap: 20px;
    }
    .ct-footer [data-row*="middle"] [data-column="widget-area-1"],
    .ct-footer [data-row*="middle"] [data-column="widget-area-3"] {
        flex: 1;
    }
    .ct-footer [data-row*="middle"] [data-column="widget-area-2"] {
        flex: 0 0 80px;
        max-width: 80px;
    }
}

@media screen and (min-width: 1920px) {
    .hero > .stk-row::before {
        right: 350px;
    }
}