/* Auto-generated scoped kurslist CSS for tenant 'perspectiva'. Kurslisten-UI only — not app chrome. listChrome=flatRow/comfortable */
/* Scoped kurslist CSS only — do NOT style app chrome / header / footer.
   Tokens: #ca2121 #003e5c #ffffff #f1f1f1 12px 140px 767
   detailChrome: 24px 700 #003e5c 16px #262626 10px
   24px #2b2b2b 700 transparent 30px 4px
   #ca2121 8px 8px 15px 17px 400 120px
   When listChrome.itemChrome=flatRow: neutralize neumorphic gray tiles (site.css .neumorphism-row .card height:510px).
*/

/* --- Flat list surface: kill gray tile + fixed 510px height (site.css) --- */
.maincontent.webshop-style .neumorphism-row .card,
.maincontent.webshop-style .neumorphism-row .card.shadow-soft,
.maincontent.webshop-style .neumorphism-row .card.border-light,
.maincontent.webshop-style .kurslist-results-row .card,
.maincontent.webshop-style .card.kurslist-item-surface {
  --k3-kurslist-primary: #ca2121;
  --k3-kurslist-secondary: #003e5c;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 12px 0 !important;
}

.maincontent.webshop-style .neumorphism-row > [class*="col-"],
.maincontent.webshop-style .kurslist-results-row > [class*="col-"] {
  margin-bottom: 0.35rem !important;
}

.maincontent.webshop-style .neumorphism-row .card table,
.maincontent.webshop-style .kurslist-item-table,
.maincontent.webshop-style .kurslist-item-surface table,
.maincontent.webshop-style table:has(.kurslist-template-card),
.maincontent.webshop-style table:has(.kurslist-template) {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

.maincontent.webshop-style .kurslist-item-table tr,
.maincontent.webshop-style .kurslist-item-table td,
.maincontent.webshop-style .kurslist-template,
.maincontent.webshop-style .kurslist-template-card,
.maincontent.webshop-style tr.kurslist-template-card > td,
.maincontent.webshop-style tr.kurslist-template > td {
  --k3-kurslist-primary: #ca2121;
  --k3-kurslist-secondary: #003e5c;
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Divider only between list items — never between title and description rows */
.maincontent.webshop-style .neumorphism-row .card.kurslist-item-surface,
.maincontent.webshop-style .kurslist-results-row .card,
.maincontent.webshop-style .neumorphism-row .card {
  border-bottom: 1px solid #e0ded8 !important;
}

/* Title ↔ body stack (detailChrome.titleStack) */
.maincontent.webshop-style .kurslist-template-card a,
.maincontent.webshop-style .kurslist-item-surface a {
  color: #003e5c !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.maincontent.webshop-style .kurslist-template-card td .mud-typography,
.maincontent.webshop-style .kurslist-item-surface td {
  font-family: Poppins, "Open Sans", sans-serif;
}

/* Single gap between title row and description — do not stack with large cell padding */
.maincontent.webshop-style .kurslist-item-table tr:nth-child(2) > td {
  padding-top: 10px !important;
  color: #262626;
  font-size: 16px;
}

/* Keep overall card close to source ~120px row height */
.maincontent.webshop-style .kurslist-item-surface .kurslist-item-table {
  height: auto !important;
}

.maincontent.webshop-style .kurslist-item-table td {
  line-height: 1.35 !important;
}

/* Compact icons — measured seminarPhoto ~105px; object-fit contain (artwork may be circular) */
.maincontent.webshop-style .kurslist-icon-stack {
  position: relative;
  display: inline-block;
  width: 140px;
  height: 140px;
  max-width: 140px;
  vertical-align: middle;
  overflow: visible;
}

.maincontent.webshop-style .kurslist-template-card .kursIcon-lg,
.maincontent.webshop-style .kurslist-template .kursIcon-lg,
.maincontent.webshop-style .kurslist-template-card .img.kursIcon-lg,
.maincontent.webshop-style .kurslist-template-card .mud-image.kursIcon-lg,
.maincontent.webshop-style .neumorphism-row .kursIcon-lg,
.maincontent.webshop-style .kurslist-item-surface .kursIcon-lg,
.maincontent.webshop-style .kurslist-icon-stack .kursIcon-lg {
  border-radius: 0 !important;
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  max-height: 140px !important;
  object-fit: contain !important;
  margin: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

/* Badges must overlay — never stack in flow (that doubles rowspan cell height / creates holes) */
.maincontent.webshop-style .kurslist-icon-stack .Online-Icon,
.maincontent.webshop-style .kurslist-icon-stack .mud-image.Online-Icon,
.maincontent.webshop-style .kurslist-item-surface .Online-Icon {
  position: absolute !important;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  right: -4px !important;
  bottom: -4px !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 2;
  object-fit: contain !important;
}

.maincontent.webshop-style .kurslist-icon-stack .New-Icon,
.maincontent.webshop-style .kurslist-icon-stack .mud-image.New-Icon,
.maincontent.webshop-style .kurslist-item-surface .New-Icon {
  position: absolute !important;
  width: 40px !important;
  height: auto !important;
  max-width: 48px !important;
  top: -6px !important;
  left: -6px !important;
  margin: 0 !important;
  z-index: 2;
}

/* Price badge: restyle Mud Euro icon (direct td child) like source i.fa-preis + lbl_fapreis */
.maincontent.webshop-style .neumorphism-row td > .mud-icon-root,
.maincontent.webshop-style .kurslist-item-surface td > .mud-icon-root {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  margin-right: 4px !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #fff !important;
  fill: #fff !important;
  font-size: 14px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

.maincontent.webshop-style .neumorphism-row td > .mud-icon-root + *,
.maincontent.webshop-style .kurslist-item-surface td {
  font-size: 24px;
  font-weight: 700;
  color: #2b2b2b;
  font-family: Poppins, "Open Sans", sans-serif;
}

/* CTA Details — source HaasMehrBtn: fill + trailing arrow (EndIcon / ::after) */
.maincontent.webshop-style .kurslist-template-card .mud-button.SearchDeatilsBtn,
.maincontent.webshop-style .kurslist-template .mud-button.SearchDeatilsBtn,
.maincontent.webshop-style .neumorphism-row .mud-button.SearchDeatilsBtn,
.maincontent.webshop-style .kurslist-item-surface .mud-button.SearchDeatilsBtn {
  background-color: #ca2121 !important;
  border-color: #ca2121 !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  font-family: Poppins, "Open Sans", sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  padding: 8px 15px !important;
  min-width: 120px !important;
  height: auto !important;
  position: relative !important;
}

.maincontent.webshop-style .mud-button.SearchDeatilsBtn .mud-button-label {
  color: #fff !important;
}

.maincontent.webshop-style .mud-button.SearchDeatilsBtn .mud-icon-root {
  color: #fff !important;
  fill: #fff !important;
  background: transparent !important;
  border-radius: 0 !important;
  width: 1.1em !important;
  height: 1.1em !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.maincontent.webshop-style .neumorphism-row .mud-icon-root,
.maincontent.webshop-style .kurslist-item-surface .mud-icon-root,
.maincontent.webshop-style .kurslist-template-card .mud-icon-root {
  color: var(--k3-kurslist-primary, #ca2121) !important;
  font-size: 1.25rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
}

/* Search bar — mint panel from source .PS.WD */
.maincontent.webshop-style .neumorphism-card {
  background: #f5f5f5 !important;
  box-shadow: 0 0 8px 1px rgba(170, 170, 170, 0.9) !important;
  border-radius: 10px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 14px !important;
}

.maincontent.webshop-style .neumorphism-card .SearchBtn,
.maincontent.webshop-style .neumorphism-card .dxbl-btn-primary.SearchBtn {
  background-color: #ca2121 !important;
  border-color: #ca2121 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.maincontent.webshop-style .neumorphism-card .dxbl-btn-primary.SearchBtn:hover {
  color: #fff !important;
  background-color: #b01d1d !important;
  border-color: #b01d1d !important;
  box-shadow: none !important;
}

.maincontent.webshop-style .neumorphism-card .SearchTextBox,
.maincontent.webshop-style .neumorphism-card .SearchComboBox {
  background: #fff !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .maincontent.webshop-style .neumorphism-card {
    height: auto !important;
  }

  .maincontent.webshop-style .kurslist-template-card .kursIcon-lg,
  .maincontent.webshop-style .neumorphism-row .kursIcon-lg,
  .maincontent.webshop-style .kurslist-item-surface .kursIcon-lg {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
  }
}

/* Kursangebot canvas — flat white like live (cards keep raised shadow borders). */
main.maincontent.webshop-style.perspectiva-webshop.container:has(.neumorphism-row),
.maincontent.webshop-style.perspectiva-webshop.container:has(.neumorphism-row),
.maincontent.webshop-style.perspectiva-webshop > .container:has(.neumorphism-row) {
  background-color: #fff !important;
  background-image: none !important;
}

.maincontent.webshop-style.perspectiva-webshop .neumorphism-card {
  background: #ffffff !important;
  box-shadow: 0 0 8px 1px rgba(170, 170, 170, 0.9) !important;
  border-radius: 14px !important;
}

/* --- Perspectiva list cards: raised tile (live Kursangebot) --- */
.maincontent.webshop-style.perspectiva-webshop .neumorphism-row .card,
.maincontent.webshop-style.perspectiva-webshop .kurslist-results-row .card,
.maincontent.webshop-style.perspectiva-webshop .card.kurslist-item-surface {
  box-shadow: 0 0 8px 1px rgba(170, 170, 170, 0.9) !important;
  padding: 14px 14px 14px 10px !important;
  border-radius: 14px !important;
  border-bottom: none !important;
}

.maincontent.webshop-style.perspectiva-webshop .neumorphism-row > [class*="col-"],
.maincontent.webshop-style.perspectiva-webshop .kurslist-results-row > [class*="col-"] {
  margin-bottom: 1rem !important;
}

/* --- Perspectiva legacy card chrome (K3Webshop App_Themes/Perspectiva) --- */
.maincontent.webshop-style.perspectiva-webshop .kurslist-icon-stack .kursIcon-lg,
.maincontent.webshop-style.perspectiva-webshop .kurslist-template-card .kursIcon-lg {
  border-radius: 50% !important;
  background-color: whitesmoke !important;
  padding: 10px !important;
  object-fit: cover !important;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-price-block {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  float: right;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-fa-preis {
  width: 30px !important;
  height: 40px !important;
  margin-bottom: -12px;
  display: inline-block !important;
  background: url(/perspectiva/legacy-kurslist/media/Icons/ic_cur_euro.png) no-repeat;
  background-size: 90% !important;
  background-position: 30% 45% !important;
}

.maincontent.webshop-style.perspectiva-webshop .lbl_fapreis {
  font-weight: 700;
  font-size: 24px;
  color: #2b2b2b;
  font-family: Poppins, sans-serif;
}

.maincontent.webshop-style.perspectiva-webshop .mud-button.SearchDeatilsBtn .mud-button-label::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 11px;
  margin-left: 8px;
  vertical-align: middle;
  background: url(/perspectiva/legacy-kurslist/media/arrow-rgt.ico) no-repeat center;
  background-size: contain;
}

.maincontent.webshop-style.perspectiva-webshop .kurslist-item-table td span[style*="text-transform:uppercase"] {
  color: #ca2121 !important;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-kurslist-date {
  display: block;
  margin: 10px 0 18px;
  font-size: 16px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
  color: #262626;
  line-height: 1.35;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-kurslist-date .fa-calendar {
  margin-right: 0.35em;
  color: #262626;
  font-size: 17px;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-kurslist-date .lbl_facalendar {
  font-size: 16px;
  font-weight: 400;
}

.maincontent.webshop-style.perspectiva-webshop .kurslist-item-table tr:nth-child(2) > td {
  padding-top: 0 !important;
}

.maincontent.webshop-style.perspectiva-webshop .perspectiva-kurslist-rubrik {
  display: block;
  line-height: 1.35;
}

.maincontent.webshop-style.perspectiva-webshop .kurslist-item-table tr:nth-child(3) > td {
  padding-top: 0 !important;
}

.maincontent.webshop-style.perspectiva-webshop .kurslist-item-table tr:nth-child(4) > td {
  padding-top: 5px !important;
}

.maincontent.webshop-style.perspectiva-webshop .kurslist-item-table td:has(.SearchDeatilsBtn) {
  vertical-align: bottom !important;
  padding-top: 115px !important;
  padding-bottom: 8px !important;
}
