/**
 * Theme Name: Muettersprache
 * Description: A Blocksy Child theme for the Muettersprache project.
 * Author: Lukas Kaisers
 * Template: blocksy
 * Text Domain: blocksy
 */

.text-gradient {
	background: linear-gradient(90deg, var(--theme-palette-color-5) 0%, var(--theme-palette-color-6) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-comp {
		position: relative;
    --image-overlap: 1rem;
}

.hero-comp::before {
	content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: radial-gradient(circle 50vw at 50% 100%, #ffffff, rgba(255, 255, 255, 0));
		calc(-1 * var(--theme-content-vertical-spacing));
    bottom: 33.333%;
    z-index: -1;
    height: 100%;
    --margin-x: calc((100vw - var(--wp--style--global--content-size)) / -2)
;
    margin: 0 var(--margin-x);
}

.hero-comp__image {
    margin-top: calc(var(--image-overlap) * -1) !important;
}

.course-card {
	--theme-content-spacing: 1.5rem;
	height: 100%;
	padding: 40px;
	background-color: var(--theme-palette-color-4);
	border-radius: 1.5rem;
}

.course-card__badge {
	border-radius: 8px;
	background: rgba(83, 58, 113, 0.08);
	padding: 0.5rem 1rem;
	font-weight: 700;
	line-height: normal;
	color: var(--theme-palette-color-7);
}

@property --course-card-cta-color-1 {
  syntax: '<color>';
  initial-value: #CE072B;
  inherits: false;
}

@property --course-card-cta-color-2 {
  syntax: '<color>';
  initial-value: #FF6783;
  inherits: false;
}

.course-card__cta, .course-card__cta > div {
	width: 100%;
}

.course-card__cta {
	margin-top: auto !important;
}

.course-card__cta a {
	background: linear-gradient(90deg, var(--course-card-cta-color-1) 0%, var(--course-card-cta-color-2) 100%);
	transition: --course-card-cta-color-1 .3s, --course-card-cta-color-2 .3s;
}

.course-card__cta a:hover {
	--course-card-cta-color-2: #CE072B;
}

.key-fact {
	height: 100%;
	position: relative;
}

.key-fact::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(to right, var(--theme-palette-color-5), var(--theme-palette-color-6));
}