/* ==========================================================
   Weiterbildungen Einzelseiten - Hero H1 + Text
   Kleiner als Standardgröße wegen langer Titel	
============================================================= */

.single-scf_weiterbildung .hero-h1 h1.et_pb_module_header {
	font-size: clamp(3.25rem, 2.6625rem + 2.6111vw, 5.6rem);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 600;
}

.single-scf_weiterbildung .hero-h1-text .et_pb_text,
.single-scf_weiterbildung .hero-h1-text .et_pb_text_inner,
.single-scf_weiterbildung .hero-h1-text .et_pb_text_inner p {
	font-size: clamp(1.0625rem, 0.9031rem + 0.7083vw, 1.7rem);
	font-weight: 200;
	line-height: 1.3em;
}

.single-scf_weiterbildung .hero-h2 h2.et_pb_module_header {
	font-size: clamp(2.625rem, 2.13125rem + 2.1944vw, 4.6rem);
}

.kurs-info-item:first-child {
  border-left: 1px solid rgba(255,255,255,0.25);
  border-right: 1px solid rgba(255,255,255,0.25);
}

.kurs-info-item + .kurs-info-item {
  border-right: 1px solid rgba(255,255,255,0.25);
}

.kurs-info-item:last-child {
  border-right: 1px solid rgba(255,255,255,0.25);
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px) {

  /* Zunächst horizontale Linien zurücksetzen */
  .kurs-info-item {
    border-top: 0;
    border-bottom: 0;
  }

  /* 1. und 2. Element */
  .kurs-info-item:nth-child(1),
  .kurs-info-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  /* 2. und 4. Element */
  .kurs-info-item:nth-child(2),
  .kurs-info-item:nth-child(4) {
    border-right: 0;
  }

  /* 3. und 4. Element */
  .kurs-info-item:nth-child(3),
  .kurs-info-item:nth-child(4) {
    /*border-top: 1px solid rgba(255, 255, 255, 0.25);*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  /* Letztes Element */
  .kurs-info-item:last-child {
    /*border-top: 1px solid rgba(255, 255, 255, 0.25);*/
  }

  /* Linke Spalte beziehungsweise alleinstehendes letztes Element */
  .kurs-info-item:nth-child(1),
  .kurs-info-item:nth-child(3),
  .kurs-info-item:last-child {
    border-left: 0;
  }
}

/* Smartphone: 1 Spalte */
@media (max-width: 860px) {

  /* Keine vertikalen Außen- oder Trennlinien mehr */
  .kurs-info-item,
  .kurs-info-item:first-child,
  .kurs-info-item:last-child,
  .kurs-info-item + .kurs-info-item {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
  }

  /* Erstes Element */
  .kurs-info-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  /* 2., 3. und 4. Element */
  .kurs-info-item:nth-child(2),
  .kurs-info-item:nth-child(3),
  .kurs-info-item:nth-child(4) {
    /*border-top: 1px solid rgba(255, 255, 255, 0.25);*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  /* Letztes Element */
  .kurs-info-item:last-child {
    /*border-top: 1px solid rgba(255, 255, 255, 0.25);*/
    border-bottom: 0;
  }
}

.kurs-info-item .hero-h4 h4.et_pb_module_header {
	font-size: clamp(1.5rem, 1.375rem + 0.5556vw, 1.65rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 400;
	color: #ffffff;
}

.kurs-info-item .et_pb_heading.hero-h4 {
	margin-bottom: 0px !important;
}

.kurs-termine-fallback {
	/*width: calc(20% - var(--horizontal-gap-parent, 5.5%) * 4 / 5) !important;*/
}