/* MG Publikationen v1.3.5: existing Helix PUBLIKATIONEN dropdown, not a replacement menu. */
@media(min-width:992px){
 .sp-megamenu-parent>li.mgpub-existing-megamenu>.sp-dropdown{width:min(638px,calc(100vw - 24px))!important;max-width:calc(100vw - 30px)!important}
 .sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown-inner{padding:15px 20px 16px!important}
 .sp-megamenu-parent>li.mgpub-existing-megamenu>.sp-dropdown .row{display:flex!important;flex-wrap:nowrap!important;gap:25px!important}
 .sp-megamenu-parent>li.mgpub-existing-megamenu>.sp-dropdown .row>[class*="col-"]{flex:1 1 0!important;min-width:0!important;width:auto!important;max-width:none!important;padding:0!important}
 .sp-megamenu-parent>li.mgpub-existing-megamenu>.sp-dropdown .row>[class*="col-"]:first-child{flex:1.13 1 0!important}
}
/* Native dropdown rows: remove Helix's legacy vertical spacing, scoped only here. */
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown ul{margin:0!important;padding:0!important;list-style:none!important}
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-chapter-item,
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-menu-heading{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;line-height:1.2!important;list-style:none!important;text-indent:0!important}
/* Exactly two bold, noninteractive headings. */
.sp-megamenu-parent li.mgpub-menu-heading::before,.sp-megamenu-parent li.mgpub-menu-heading::after{content:none!important;display:none!important}
.sp-megamenu-parent li.mgpub-menu-heading,
.sp-megamenu-parent li.mgpub-menu-heading:hover,
.sp-megamenu-parent li.mgpub-menu-heading:focus-within,
.sp-megamenu-parent li.mgpub-menu-heading>.mgpub-heading-text,
.sp-megamenu-parent li.mgpub-menu-heading>.mgpub-heading-text:hover{
 text-align:left!important;color:#263b4d!important;background:transparent!important;
 font-weight:750!important;text-decoration:none!important;box-shadow:none!important;text-shadow:none!important;outline:none!important}
.sp-megamenu-parent li.mgpub-menu-heading>.mgpub-heading-text{display:block!important;padding:4px 0 8px!important;margin:0!important;font-size:14px!important;line-height:19px!important;text-transform:uppercase!important;cursor:default!important;pointer-events:none!important}
/* Exactly one dash per ordinary subordinate link, never a doubled Helix pseudo dash. */
.sp-megamenu-parent li.mgpub-chapter-item::before,
.sp-megamenu-parent li.mgpub-chapter-item::after,
.sp-megamenu-parent li.mgpub-chapter-item>a::after,
.sp-megamenu-parent li.mgpub-chapter-item>a>span::before,
.sp-megamenu-parent li.mgpub-chapter-item>a>span::after{content:none!important;display:none!important}
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-chapter-item>a.mgpub-chapter-link{
 display:flex!important;align-items:baseline!important;gap:8px!important;
 width:100%!important;min-height:0!important;height:auto!important;
 text-align:left!important;font-size:14px!important;font-weight:400!important;letter-spacing:0!important;
 margin:0!important;padding:3px 0!important;line-height:18px!important;
 white-space:normal!important;overflow-wrap:break-word!important;text-indent:0!important}
.sp-megamenu-parent li.mgpub-chapter-item>a.mgpub-chapter-link::before{content:"–"!important;display:inline-block!important;color:#263b4d!important;font-weight:750!important;flex:0 0 auto!important;line-height:18px!important}
.sp-megamenu-parent li.mgpub-chapter-item>a.mgpub-chapter-link .mgpub-link-name{display:inline!important;line-height:18px!important;white-space:normal!important}
.sp-megamenu-parent li.mgpub-chapter-item>a.mgpub-chapter-link>.mgpub-link-copy{display:block!important;min-width:0!important}
/* Left bottom: Wissenskompass = purposeful standalone editorial path, not a fifth book series. */
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-compass-item{margin-top:10px!important;padding-top:9px!important;border-top:1px solid #e5edf2!important}
.sp-megamenu-parent li.mgpub-compass-item>a.mgpub-chapter-link{font-weight:750!important;color:#153e5e!important}
.sp-megamenu-parent li.mgpub-compass-item>a.mgpub-chapter-link::before{content:none!important;display:none!important}
.sp-megamenu-parent li.mgpub-compass-item>a.mgpub-chapter-link:hover{color:#287eab!important}
/* Right top: JOURNALBEITRÄGE is a real link; heading STUDIENARBEITEN below it. */
.sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-journal-item{margin:0!important;padding:0 0 9px!important;border-bottom:1px solid #e5edf2!important}
.sp-megamenu-parent li.mgpub-journal-item>a.mgpub-chapter-link{font-weight:750!important;padding:3px 0!important;color:#263b4d!important}
.sp-megamenu-parent li.mgpub-journal-item>a.mgpub-chapter-link::before{content:none!important;display:none!important}
.sp-megamenu-parent li.mgpub-journal-item>a.mgpub-chapter-link:hover{color:#287eab!important}
.sp-megamenu-parent li.mgpub-study-heading{margin-top:9px!important}
.sp-megamenu-parent li.mgpub-study-heading>.mgpub-heading-text{padding:4px 0 7px!important}
@media(max-width:1100px) and (min-width:992px){
 .sp-megamenu-parent>li.mgpub-existing-megamenu>.sp-dropdown{width:min(600px,calc(100vw - 20px))!important}
 .sp-megamenu-parent>li.mgpub-existing-megamenu .sp-dropdown li.mgpub-chapter-item>a.mgpub-chapter-link{font-size:13px!important}
}

/* v1.3.5: Force actual Helix submenu leaf rows together; maintain the native columns. */
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown ul li.mgpub-chapter-item.mgpub-mono-child,
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown ul li.mgpub-chapter-item.mgpub-study-child {
 display:flex!important;align-items:center!important;height:26px!important;min-height:0!important;
 line-height:20px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown ul li.mgpub-chapter-item.mgpub-mono-child>a.mgpub-chapter-link,
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown ul li.mgpub-chapter-item.mgpub-study-child>a.mgpub-chapter-link{
 display:flex!important;align-items:center!important;height:26px!important;min-height:0!important;
 line-height:20px!important;padding:0!important;margin:0!important;box-sizing:border-box!important;
}
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown li.mgpub-compass-item>a.mgpub-chapter-link,
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown li.mgpub-journal-item>a.mgpub-chapter-link{
 font-weight:750!important;letter-spacing:0!important;text-transform:uppercase!important;color:#263b4d!important;
}
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown li.mgpub-compass-item>a.mgpub-chapter-link:hover,
.sp-megamenu-parent > li.mgpub-existing-megamenu .sp-dropdown li.mgpub-journal-item>a.mgpub-chapter-link:hover{
 color:#287eab!important;
}
