/*
 * SAM-PRO Business v360
 * Gleich hohe Quick-Check-Einordnung und dynamisches Seminar-Untermenü.
 */

/* Desktop: Beide großen Quick-Check-Felder teilen exakt dieselbe Zeilenhöhe. */
@media (min-width:1101px){
  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__intro-grid{
    align-items:stretch !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__context-card,
  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__usecases-card{
    align-self:stretch !important;
    height:100% !important;
    min-height:0 !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__context-card,
  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__usecases-card,
  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v328__context-main{
    display:flex !important;
    flex-direction:column !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v328__context-main{
    flex:1 1 auto !important;
    height:100% !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__context-copy{
    flex:0 0 auto !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__context-figure{
    flex:0 0 232px !important;
    width:calc(100% - 26px) !important;
    height:232px !important;
    min-height:232px !important;
    max-height:232px !important;
    margin:0 13px 13px !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__context-figure img{
    object-position:center 38% !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__usecases-grid{
    flex:1 1 auto !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    align-content:stretch !important;
    align-items:stretch !important;
  }

  html body .sampro-topic-v271[data-topic="sam-quick-check"] #einordnung .sampro-topic-v326__usecase-item{
    align-self:stretch !important;
    height:100% !important;
  }
}

/* Seminartermine: kompakte, einspaltige Terminliste im Hauptmenü. */
html body .site-header.sampro-v7-header .sampro-v7-menu > li.sampro-seminar-menu-parent > .sub-menu{
  grid-template-columns:1fr !important;
  width:min(520px,calc(100vw - 32px)) !important;
}

html body .site-header.sampro-v7-header .sampro-seminar-menu-parent > .sub-menu > li > a{
  min-height:52px !important;
  padding-top:11px !important;
  padding-bottom:11px !important;
}

@media (max-width:900px){
  html body .site-header.sampro-v7-header .sampro-v7-menu > li.sampro-seminar-menu-parent > .sub-menu{
    grid-template-columns:1fr !important;
    width:min(520px,calc(100vw - 40px)) !important;
  }
}

@media (max-width:560px){
  html body .site-header.sampro-v7-header .sampro-seminar-menu-parent,
  html body .site-header.sampro-v7-header .sampro-v7-menu > li.sampro-seminar-menu-parent > .sub-menu{
    width:100% !important;
  }
}
