.rd-buehnenprogramm-days {
  display: grid;
  grid-template-columns: calc(100% /3) calc(100% /3) calc(100% /3);

  max-height: 1000px;
  overflow: auto;
  /* padding: 0 var(--rd-spacing-md); */
}

.rd-buehnenprogramm-header h2 {
  text-align: left;
  font-size: var(--rd-fontsize-6);
  margin-bottom: var(--rd-spacing-x-big);
  text-align: center;
  margin-right: 40px;
}



.rd-buehnenprogramm-header {
  display: grid;

  grid-template-columns: calc(100% /3) calc(100% /3) calc(100% /3);
  justify-self: center;
  padding: 0 var(--rd-spacing-md);
  width: 100%;

  position: sticky;
}



.rd-buehnenprogramm-day {}

.rd-buehnenprogramm-day-content {}

.rd-buehnenprogramm-item {
  background-color: var(--rd-primary-inactive);
  margin-bottom: var(--rd-spacing-x-big);
  padding: var(--rd-spacing-x-big);
  border-radius: var(--rd-borderradius-border-xl);
}

.rd-buehnenprogramm-item {
  text-align: left;
  color: var(--rd-font-dark);
  max-width: 400px;
}

.category-Fachbeitrag {
  background-color: #FDF2FA;
}

.category-Produkthighlight {
  background-color: #F4F7FB;
}

.category-Kundeninterview {
  background-color: #F3FAE7;
}

.rd-buehnenprogramm-item-category {

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rd-messe-buhnenprogramm .rd-icon-union {
  gap: 2px !important;
  color: #526d26;
  background-color: #e7f0d9;
  border-radius: 24px;
  padding: 2px 8px;
  font-size: 12px;
  height: 24px;
  align-items: center;
  display: flex;

}

.rd-buehnenprogramm-item .rd-icon-union {
  display: none !important;
}


.rd-icon-union::before {
  background-color: #526d26;
  width: 12px;
  height: 12px;
}

.rd-buehnenprogramm-item-head {
  margin-bottom: var(--rd-spacing-x-big);
}

.rd-buehnenprogramm-item-category:first-child {
  padding: var(--rd-spacing-xx-sm) var(--rd-spacing-sm);
  border-radius: 8px;
  border: 1px solid #E5D1D7;
  background-color: var(--rd-font-light);
  font-size: var(--rd-fontsize-4);
  font-weight: var(--rd-fontweights-open-sans-1);
  line-height: 150%;
  text-align: left;
  color: var(--rd-primary-active);
  width: fit-content;

}

.category-Produkthighlight .rd-buehnenprogramm-item-category:first-child {
  border: 1px solid #BFD3EE;
  color: #4073B6;
}

.category-Kundeninterview .rd-buehnenprogramm-item-category:first-child {
  border: 1px solid #D7E6BB;
  color: #89B63F;
}

/* .rd-buehnenprogramm-item-category div:last-child {
  font-size: var(--rd-fontsize-5);
  font-weight: var(--rd-fontweights-open-sans-1);
  line-height: 150%;
  color: var(--rd-success-pressed);
} */

.rd-buehnenprogramm-item-category:last-child::before {
  background-color: var(--rd-success-pressed);
}


.rd-buehnenprogramm-item-time {
  display: flex;
  gap: 16px;
  margin-bottom: var(--rd-spacing-md);
  font-size: var(--rd-fontsize-5);
  font-weight: var(--rd-fontweights-open-sans-1);
  line-height: 150%;
}

.rd-buehnenprogramm-item-title {
  font-size: var(--rd-fontsize-5);
  font-weight: var(--rd-fontweights-open-sans-0);
  line-height: 150%;

  margin-bottom: var(--rd-spacing-x-sm);
}

.rd-buehnenprogramm-item-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.rd-buehnenprogramm-item-person {
  display: grid;
  grid-template-columns: 56px auto;
  align-items: center;

  gap: 4px;
  margin: var(--rd-spacing-md) 0;

  padding-top: var(--rd-spacing-md);
}


/* 
.category-Produkthighlight .rd-buehnenprogramm-item-person {
  border-top: 1px solid #D9E3F0;
}

.category-Kundeninterview .rd-buehnenprogramm-item-person {
  border-top: 1px solid #E7F0D9;
} */

.rd-buehnenprogramm-item-person-img {
  width: 48px;
  height: 48px;
  background-size: cover;
  border-radius: 100%;
  background-repeat: no-repeat;
  /* border-top: 1px solid #D9E3EF; */
  padding-top: var(--rd-spacing-md);
  background-position: 50%;
  flex-shrink: 0;
}

.rd-buehnenprogramm-item-time div::before {
  background-color: var(--rd-font-dark)
}

.rd-buehnenprogramm-item-time div {
  display: flex;
}

.rd-buehnenprogramm-day h2 {
  text-align: left;
  font-size: 30px;
  margin-bottom: var(--rd-spacing-x-big);
}

.rd-buehnenprogramm-item-person-desc {
  font-size: var(--rd-fontsize-3);
  font-weight: 400;
}

.rd-buehnenprogramm-item-person-name {
  font-size: 14px;
}

.rd-buehnenprogramm-item-person-position {
  font-size: var(--rd-fontsize-4);
  line-height: 150%;
  font-weight: 500;

}

.rd-buehnenprogramm-item-person-desc {}

.rd-buehnenprogramm-day-content+.rd-primary-btn-textlink {
  display: none;
}

.rd-buehnenprogramm-day-content+.rd-primary-btn-textlink:after {
  content: "";
  mask-image: url(/src/img/2024/svg/icons/rd-icon-cheveron-up.svg);
  -webkit-mask-image: url(/src/img/2024/svg/icons/rd-icon-cheveron-up.svg);
  background-color: var(--rd-primary-active);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-position: 50%;
  -webkit-mask-position: 50%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-right: unset !important;
  margin-left: 4px;
  vertical-align: middle;
  align-self: center;
}

.rd-buehnenprogramm-day-content:has(.hidden-mobile)+.rd-primary-btn-textlink:after {
  mask-image: url(/src/img/2024/svg/icons/rd-icon-cheveron-right.svg);
  -webkit-mask-image: url(/src/img/2024/svg/icons/rd-icon-cheveron-right.svg);
}

.rd-buehnenprogramm-item {
  display: block !important;
  /* Alle Elemente auf Desktop sichtbar */
}

.rd-buehnenprogramm-item-links {
  text-align: right;
}


.rd-buehnenprogramm-day-content:has(.hidden-mobile) {
  padding-right: 0 !important
}

.rd-buehnenprogramm-day {
  margin-right: 20px;
}

/* 
.rd-buehnenprogramm-day:last-child {
  margin-right: 0;
} */

.rd-buehnenprogramm-day h2 {
  display: none;
}

.rd-messe-buhnenprogramm {
  max-width: 1180px !important;
}

.topExperten .rd-primary-btn-textlink {
  font-size: var(--rd-fontsize-5) !important;
  font-weight: var(--rd-fontweights-open-sans-1);
  line-height: 150%;
}

@media screen and (max-width:1350px) {

  .rd-buehnenprogramm-header h2 {
    font-size: var(--rd-fontsize-9);
    text-align: center;
  }
}




.termin {
  display: block;
  border-radius: 8px;
  background: #F4F7FB;
  padding: 16px;
  margin-bottom: 16px;
  /* position: relative; */
  /* z-index: 999999; */
  box-shadow: 0 1px 3px 0 rgba(63, 63, 68, 0.15);
}

.termin_header {
  display: block;
  width: 100%;
  font-size: 12px;
}

.termin_header>div {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.termin_header_time {
  vertical-align: top;
  height: 10px;
}

.termin_header_length {
  height: 12px;
}

.termin_header_length .icon,
.termin_header_time .icon {
  display: inline-block;
  width: 15px;
  height: 15px;
}

.termin_header_length .icon img,
.termin_header_time .icon img {
  width: 100%;
}

.termin_header_category {
  text-transform: uppercase;
  padding: 4px;
  font-size: 10px;
  border-radius: 4px;
  color: #4073B6;
  border: 1px solid #BFD3EE;
  background: #FFF;
}

.cat-Fachbeitrag .termin_header_category {
  color: #D66181;
  border: 1px solid #E5D1D7;
  background: #FFF;
}

.cat-Fachbeitrag {
  background: #FDF2FA;
  cursor: pointer;
}

.cat-Kundeninterview {
  cursor: pointer;
  background-color: var(--rd-green-50);

  .termin_header_category {
    border: 1px solid var(--rd-success-default);
    color: var(--rd-success-default);
  }
}

.termin_header_referent_name {
  font-size: 12px;
  color: #0D1130;
}

.termin_header_titel {
  color: #0D1130;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  margin-top: 12px;
}

.programm.set_center #dateSelect+.rd-buehnenprogramm-item {
  margin-top: var(--rd-spacing-md);
}


.messe-subtitle .rd-icon-certificate {
  margin-bottom: var(--rd-spacing-md) !important;
  margin-top: 0 !important;
  font-size: var(--rd-fontsize-6);
  font-weight: var(--rd-fontweights-open-sans-1);
  line-height: 150%;
  color: var(--rd-success-pressed);
  background-color: var(--rd-success-inactive);
  padding: var(--rd-spacing-xx-sm) var(--rd-spacing-x-sm);
  border-radius: 24px;
  margin: auto;
  width: max-content;
}

.rd-messe-buhnenprogramm {
  padding: var(--rd-spacing-x-huge) 0;
}

.rd-messe-buhnenprogramm .messe-subtitle+div {
  margin-bottom: var(--rd-spacing-x-big) !important;
}


.rd-messe-buhnenprogramm .rd-programm-wrapper,
.rd-messe-buhnenprogramm .rd-program-ps {
  /* display: grid;
	grid-template-columns: 1fr 1fr 1fr; */
  width: 100%;
  justify-self: center;
  max-width: 1300px;
  padding: 24px 0;
}

.rd-messe-buhnenprogramm .rd-programm-wrapper {
  position: relative;
}


.rd-messe-buhnenprogramm .rd-programm-col1,
.rd-messe-buhnenprogramm .rd-programm-col2 {
  margin-right: 64px;
}


.rd-messe-buhnenprogramm .rd-flex {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: var(--rd-spacing-md);
  gap: 12px;
}

.rd-messe-buhnenprogramm .rd-icon-certificate::before {
  background-color: var(--rd-success-pressed);
}

.rd-messe-buhnenprogramm .messe-subtitle {
  margin-bottom: var(--rd-spacing-x-big) !important;
  line-height: var(--rd-lineheights-0);
  margin-left: 117px;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}

/* .rd-buehnenprogramm-item-category,
.rd-buehnenprogramm-item-time,
.rd-buehnenprogramm-item-person-desc,
.rd-buehnenprogramm-item-person-img,
.rd-buehnenprogramm-item-links {
  display: none;
} */


/* === Coming Soon Overlay === */

.rd-messe-buhnenprogramm.coming-soon .rd-buehnenprogramm-days {
  max-height: 400px;
  overflow: hidden;

}

.rd-messe-buhnenprogramm.coming-soon .blur-layer {
  display: block;
}

.rd-messe-buhnenprogramm .blur-layer {
  display: none;
}

.rd-buehnenprogramm-day h2 {
  font-size: var(--rd-fontsize-6);
  text-align: center;
}

.rd-buehnenprogramm-day-content .rd-primary-btn-textlink:hover,
.rd-buehnenprogramm-day-content .rd-primary-btn-textlink:focus {
  color: var(--rd-primary-active) !important;
}

.rd-buehnenprogramm-item-head {
  display: flex;
  justify-content: space-between;
}

.rd-buehnenprogramm-item-head div {
  display: flex;
  gap: 8px;
  align-items: center;

}

@media screen and (max-width:1200px) {

  .rd-buehnenprogramm-day h2 {
    display: block;
  }

  .rd-buehnenprogramm-header {
    display: none;
  }


  .rd-buehnenprogramm-day-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .rd-buehnenprogramm-item {

    max-width: 100%;
  }

  .rd-buehnenprogramm-day-content {
    grid-template-columns: 1fr;
    max-height: 600px;
    overflow: auto;

  }

  .rd-buehnenprogramm-days {
    max-height: max-content;
    overflow: hidden;
    padding: 0;
  }



  .blur-layer {
    bottom: -40px;
  }

  .rd-buehnenprogramm-days {
    grid-template-columns: 50% 50%;
    row-gap: 64px;
    display: grid;
  }



}


@media screen and (max-width:960px) {
  .rd-buehnenprogramm-days {
    grid-template-columns: 100%;
  }
}


@media screen and (max-width: 768px) {

  #Buehnenprogramm .programm {
    padding: var(--rd-spacing-xxx-big) 0;
  }

  .rd-messe-buhnenprogramm.coming-soon::before {
    font-size: 18px;
    padding: 12px 24px;
  }

  .rd-messe-buhnenprogramm.coming-soon .rd-buehnenprogramm-days {
    max-height: 300px;
  }



  .rd-buehnenprogramm-header h2.is-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
  }

  .rd-messe-page .rd-messe-buhnenprogramm .rd-buehnenprogramm-header {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--Gray-New-Gray-Gray-300, #D1D5DB);
    position: static;
    justify-content: space-between;
    overflow: unset;
  }

  .rd-messe-page .rd-messe-buhnenprogramm .rd-buehnenprogramm-header h2 {
    white-space: nowrap;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 132%;
    letter-spacing: 0.16px;
    margin-bottom: 0;
    opacity: 0.6;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
  }

  .rd-messe-page .rd-messe-buhnenprogramm .rd-buehnenprogramm-header h2.is-active {
    opacity: 1;
    font-weight: 700;
    border-bottom-color: var(--rd-primary-active);
  }

  .rd-messe-page .rd-messe-buhnenprogramm .rd-buehnenprogramm-header h2.is-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
    width: 100%;
  }

  .rd-messe-page .rd-messe-buhnenprogramm .rd-buehnenprogramm-day h2 {
    display: none;
  }


  .rd-buehnenprogramm-day h2 {
    font-size: 24px !important;
  }

  .rd-buehnenprogramm-days {
    grid-template-columns: 1fr;
  }

  .rd-buehnenprogramm-day {
    margin-right: 0;
  }



  .rd-buehnenprogramm-day-content+.rd-primary-btn-textlink {
    display: block;
    font-size: var(--rd-fontsize-5) !important;
    text-align: left;
    font-weight: var(--rd-fontweights-open-sans-0);
    line-height: 150%;
    margin-top: var(--rd-spacing-x-big);
  }

  /* Hide items beyond first on mobile - toggled by toggleShowAll() */
  .rd-buehnenprogramm-item.hidden-mobile {
    display: none !important;
  }

  .rd-messe-buhnenprogramm .messe-subtitle {
    flex-wrap: wrap;
    margin-left: 0;
  }

  .rd-buehnenprogramm-day-content {
    max-height: 100%;
  }
}

@media screen and (max-width:400px) {

  .rd-buehnenprogramm-item-category {
    align-items: self-start !important;
    flex-direction: column;
  }

  .rd-buehnenprogramm-header h2 {

    margin-right: 16px;
  }
}