/*
Theme Name: CMF - Twenty Twenty Five
Theme URI: https://github.com/cmf-wp/cmf-twentytwentyfive
Description: A child theme for Twenty Twenty Five, customized by and for CMF.
Author: CMF Developer - CMF Advertising GmbH
Author URI: https://cmf.de
Template: twentytwentyfive
Version: 1.1
*/

/*
Global resets:
 */
.has-global-padding {
	padding: 0 !important;
}

/*
Custom fonts:
1. Faktum Test
 */
@font-face {
	font-family: 'Faktum';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/faktum/FaktumRegular.woff') format('woff');
}
@font-face {
	font-family: 'Faktum';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/faktum/FaktumMedium.woff') format('woff');
}
@font-face {
	font-family: 'Faktum';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/faktum/FaktumBold.woff') format('woff');
}
@font-face {
	font-family: 'Faktum';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('assets/fonts/faktum/FaktumExtraBold.woff') format('woff');
}

/*
Custom blocks:
 */
.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button {
	appearance: button !important;
	background-color: rgba(0, 0, 0, 0) !important;
	border-color: white !important;
	border-radius: 0 !important;
	border-style: solid !important;
	border-width: 1px !important;
	box-sizing: border-box !important;
	color: white !important;
	cursor: pointer !important;
	display: inline-block !important;
	font-family: "Faktum", sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: 20px !important;
	margin: 0 !important;
	padding: 8px 48px !important;
	position: relative !important;
	text-align: center !important;
	text-decoration: none !important;
	transform: matrix(1, 0, -0.445229, 1, 0, 0) !important;
	transition-duration: 0.3s !important;
	transition-property: background-color, border-color, color !important;
	transition-timing-function: ease-in-out !important;
	vertical-align: middle !important;
}

.wp-block-button.is-style-fotostudio-button-secondary a.wp-block-button__link.wp-element-button {
	appearance: button !important;
	background-color: black !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	color: white !important;
	cursor: pointer !important;
	display: inline-block !important;
	font-family: "Faktum", sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	line-height: 20px !important;
	margin: 0 !important;
	padding: 8px 48px !important;
	position: relative !important;
	text-align: center !important;
	text-decoration: none !important;
	transform: matrix(1, 0, -0.445229, 1, 0, 0) !important;
	transition-duration: 0.3s !important;
	transition-property: background-color, color !important;
	transition-timing-function: ease-in-out !important;
	vertical-align: middle !important;
}

.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button span,
.wp-block-button.is-style-fotostudio-button-secondary a.wp-block-button__link.wp-element-button span {
	display: inline-block !important; /* This allows the transform to take effect */
	transform: matrix(1, 0, 0.445229, 1, 0, 0) !important;
}

.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button:hover {
	border-color: #FF5F1F !important;
}

.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button span:hover {
	color: #FF5F1F !important;
}

/* 1. Add transition to the span to make the color change smooth */
.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button span,
.wp-block-button.is-style-fotostudio-button-secondary a.wp-block-button__link.wp-element-button span {
	display: inline-block !important;
	transform: matrix(1, 0, 0.445229, 1, 0, 0) !important;
	transition: color 0.3s ease-in-out !important; /* Smooth color transition */
}

/* 2. Target the span when the parent anchor is hovered (group-hover behavior) */
.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button:hover span {
	color: #FF5F1F !important;
}

.wp-block-button.is-style-fotostudio-button-secondary a.wp-block-button__link.wp-element-button:hover {
	background-color: #FF5F1F !important;
}

/* 3. Keep the existing border color change on hover */
.wp-block-button.is-style-fotostudio-button-primary a.wp-block-button__link.wp-element-button:hover {
	border-color: #FF5F1F !important;
}

/* Custom List Style: Fotostudio List */
.wp-block-list.is-style-fotostudio-list {
	list-style-type: none !important;
	padding-left: 0 !important;
}

.wp-block-list.is-style-fotostudio-list li {
	position: relative;
	padding-left: 1.5rem; /* Space for the custom marker */
	margin-bottom: 0.5rem;
}

.wp-block-list.is-style-fotostudio-list li::before {
	content: "";
	position: absolute;
	left: -5px;
	top: 0.6em;  /* Adjusted to center vertically with text */
	width: 16px;  /* Slightly wider to account for the skew */
	height: 4px;
	background-color: #FF5F1F;
	/* Use skewX plus rotate to keep top/bottom horizontal */
	transform: skewX(-30deg) rotate(-100deg);
	transform-origin: center;
}