/*
 Theme Name:   Divi Child
 Theme URI:    https://soul-spark.org/
 Description:  Child Theme für Divi
 Author:       Hannah
 Author URI:   https://gate55.media/
 Template:     Divi
 Version:      1.0.0
*/

/*  */

/* ===== Local fonts ===== */
@font-face{
  font-family:'Sora';
  src:url('/wp-content/themes/divi-child/fonts/Sora-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Sora';
  src:url('/wp-content/themes/divi-child/fonts/Sora-Medium.woff2') format('woff2');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Sora';
  src:url('/wp-content/themes/divi-child/fonts/Sora-SemiBold.woff2') format('woff2');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:'PT Serif';
  src:url('/wp-content/themes/divi-child/fonts/PT_Serif-Web-Regular.woff2') format('woff2');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'PT Serif';
  src:url('/wp-content/themes/divi-child/fonts/PT_Serif-Web-Bold.woff2') format('woff2');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}



/* Body/Text */
body, button, input, select, textarea {
  font-family: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
}

/* Überschriften */
h1,h2,h3,h4,h5,h6{
  font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
  font-weight: 700; /* passe pro Heading an, wenn nötig */
}



/*collpse and set the height of the toggle text*/

.pa-toggle-text .et_pb_text_inner {
	max-height: 150px;
	transition: max-height 0.3s ease-out;
	overflow: hidden;
}


/*add gradient to the collapsed text*/

.pa-toggle-text .et_pb_text_inner:after {
	content: "";
	display: inline-block;
	position: absolute;
	pointer-events: none;
	height: 100px;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(0deg, #fcf5f0 10%, transparent);
}


/*style the expand text link*/

.pa-toggle-text .pa-text-expand-button {
	padding: 0.8em;
	text-align: center;
	color: #ffba00!important;
	font-weight: 670;
	
}


/*change the curor to a pointed when hovering over the expand text link*/

.pa-toggle-text .pa-text-expand-button span {
	cursor: pointer;
}


/*define the font family for the toggle icon*/

.pa-toggle-text .pa-text-expand-button .pa-text-toggle-icon {
	font-family: ETMODULES, "sans-serif";
}


/*set the max height and transition of the expanded toggle*/

.pa-toggle-text .pa-text-toggle-expanded {
	max-height: 2000px;
	transition: max-height 0.3s ease-in;
}


/*hide the gradient when the toggle is expanded*/

.pa-toggle-text .pa-text-toggle-expanded.et_pb_text_inner:after {
	background: none;
}



/* Zeilenabstand Dropdown Menu */


.menu-item-has-children li a {
    line-height: 1.6em!important;
}