/* =============================================================================
   Blauer Panther Portal — User Styles
   Version: 2026
   Basis: 2026-bp-style.css
   Bereinigt: 2026-03-05
   Überarbeitet: 2026-03-05 (MemberPress Update)

   WICHTIG — MemberPress Update (neue Nav-Struktur):
   Konto / Zahlungen / Abonnements / Logout sind jetzt <li>, nicht mehr <span>.
   Die Custom-Tabs bleiben <span>.
   Da nth-of-type pro Tag-Typ zählt, müssen ALLE Tab-Selektoren
   explizit span.mepr-nav-item:nth-of-type(n) sein,
   sonst treffen die Regeln auch <li>-Elemente (Konto, Logout etc.)

   Index-Shift: alt - 3 = neu
   (3 System-Spans entfallen: Konto=1, Zahlungen=2, Abonnements=3)
   Lock-Bereich: alt 4–74 → neu 1–71

   Kaskaden-Logik (Spezifität entscheidet, nicht Reihenfolge):
   [1] Basissperre   span.mepr-nav-item                    → 0-1-2  (alles sperren)
   [2] Einblenden    #corporate span.mepr-nav-item          → 1-1-2  (Rolle öffnet)
   [3] Ausnahmen     #corporate #restricted span.mepr-nav-item → 2-1-2 (Spezialfall sperrt)
   ============================================================================= */

/* =============================================================================
   [1] BASISSPERRE — Alle Custom-Tabs sperren
   ============================================================================= */

.mpca-course-sub-account-progress {
    display: none !important;
}

/* Alle Tabs sperren (span:nth-of-type 1–71 = tab0–tab70) */
span.mepr-nav-item:nth-of-type(1),   span.mepr-nav-item:nth-of-type(2),   span.mepr-nav-item:nth-of-type(3),
span.mepr-nav-item:nth-of-type(4),   span.mepr-nav-item:nth-of-type(5),   span.mepr-nav-item:nth-of-type(6),
span.mepr-nav-item:nth-of-type(7),   span.mepr-nav-item:nth-of-type(8),   span.mepr-nav-item:nth-of-type(9),
span.mepr-nav-item:nth-of-type(10),  span.mepr-nav-item:nth-of-type(11),  span.mepr-nav-item:nth-of-type(12),
span.mepr-nav-item:nth-of-type(13),  span.mepr-nav-item:nth-of-type(14),  span.mepr-nav-item:nth-of-type(15),
span.mepr-nav-item:nth-of-type(16),  span.mepr-nav-item:nth-of-type(17),  span.mepr-nav-item:nth-of-type(18),
span.mepr-nav-item:nth-of-type(19),  span.mepr-nav-item:nth-of-type(20),  span.mepr-nav-item:nth-of-type(21),
span.mepr-nav-item:nth-of-type(22),  span.mepr-nav-item:nth-of-type(23),  span.mepr-nav-item:nth-of-type(24),
span.mepr-nav-item:nth-of-type(25),  span.mepr-nav-item:nth-of-type(26),  span.mepr-nav-item:nth-of-type(27),
span.mepr-nav-item:nth-of-type(28),  span.mepr-nav-item:nth-of-type(29),  span.mepr-nav-item:nth-of-type(30),
span.mepr-nav-item:nth-of-type(31),  span.mepr-nav-item:nth-of-type(32),  span.mepr-nav-item:nth-of-type(33),
span.mepr-nav-item:nth-of-type(34),  span.mepr-nav-item:nth-of-type(35),  span.mepr-nav-item:nth-of-type(36),
span.mepr-nav-item:nth-of-type(37),  span.mepr-nav-item:nth-of-type(38),  span.mepr-nav-item:nth-of-type(39),
span.mepr-nav-item:nth-of-type(40),  span.mepr-nav-item:nth-of-type(41),  span.mepr-nav-item:nth-of-type(42),
span.mepr-nav-item:nth-of-type(43),  span.mepr-nav-item:nth-of-type(44),  span.mepr-nav-item:nth-of-type(45),
span.mepr-nav-item:nth-of-type(46),  span.mepr-nav-item:nth-of-type(47),  span.mepr-nav-item:nth-of-type(48),
span.mepr-nav-item:nth-of-type(49),  span.mepr-nav-item:nth-of-type(50),  span.mepr-nav-item:nth-of-type(51),
span.mepr-nav-item:nth-of-type(52),  span.mepr-nav-item:nth-of-type(53),  span.mepr-nav-item:nth-of-type(54),
span.mepr-nav-item:nth-of-type(55),  span.mepr-nav-item:nth-of-type(56),  span.mepr-nav-item:nth-of-type(57),
span.mepr-nav-item:nth-of-type(58),  span.mepr-nav-item:nth-of-type(59),  span.mepr-nav-item:nth-of-type(60),
span.mepr-nav-item:nth-of-type(61),  span.mepr-nav-item:nth-of-type(62),  span.mepr-nav-item:nth-of-type(63),
span.mepr-nav-item:nth-of-type(64),  span.mepr-nav-item:nth-of-type(65),  span.mepr-nav-item:nth-of-type(66),
span.mepr-nav-item:nth-of-type(67),  span.mepr-nav-item:nth-of-type(68),  span.mepr-nav-item:nth-of-type(69),
span.mepr-nav-item:nth-of-type(70),  span.mepr-nav-item:nth-of-type(71) {
    display: none !important;
}

/* Logout immer sichtbar (Safeguard — li:nth-of-type(4) in neuer Nav) */
.mepr-nav-item.mepr-logout {
    display: block !important;
}

/* =============================================================================
   [2] EINBLENDEN — Tabs nach Rolle öffnen
   ============================================================================= */

/* Corporate Accounts
   tab0–3 (Kat. Info/Fiktion/Entertainment/Kultur) = span 1–4
   tab4   (Kat. Social Media)                      = span 5
   tab9   (Status Formulare)                        = span 10  */
#corporate span.mepr-nav-item:nth-of-type(1),
#corporate span.mepr-nav-item:nth-of-type(2),
#corporate span.mepr-nav-item:nth-of-type(3),
#corporate span.mepr-nav-item:nth-of-type(4),
#corporate span.mepr-nav-item:nth-of-type(5),
#corporate span.mepr-nav-item:nth-of-type(10) {
    display: block !important;
}

/* Subaccounts
   tab9 (Status Formulare) = span 10 */
#subaccount span.mepr-nav-item:nth-of-type(10) {
    display: block !important;
}

/* Editor
   tab10 (Verwaltung 2025)          = span 11
   tab11 (Übersicht Einreichungen)  = span 12
   tab12 (Gesamtfavoriten)          = span 13
   tab13 (Preisträger:innen)        = span 14 */
body.user-role-editor span.mepr-nav-item:nth-of-type(11),
body.user-role-editor span.mepr-nav-item:nth-of-type(12),
body.user-role-editor span.mepr-nav-item:nth-of-type(13),
body.user-role-editor span.mepr-nav-item:nth-of-type(14) {
    display: block !important;
}

/* Jury — contributor
   tab12–13 (Favoriten / Preisträger)         = span 13–14
   tab20–24 (Jury-Kat. Info bis Social Media) = span 21–25
   tab30–34 (Jury-Kat. 2. Block)              = span 31–35
   tab39    (Status Formulare)                 = span 40  */
body.user-role-contributor span.mepr-nav-item:nth-of-type(13),
body.user-role-contributor span.mepr-nav-item:nth-of-type(14),
body.user-role-contributor span.mepr-nav-item:nth-of-type(21),
body.user-role-contributor span.mepr-nav-item:nth-of-type(22),
body.user-role-contributor span.mepr-nav-item:nth-of-type(23),
body.user-role-contributor span.mepr-nav-item:nth-of-type(24),
body.user-role-contributor span.mepr-nav-item:nth-of-type(25),
body.user-role-contributor span.mepr-nav-item:nth-of-type(31),
body.user-role-contributor span.mepr-nav-item:nth-of-type(32),
body.user-role-contributor span.mepr-nav-item:nth-of-type(33),
body.user-role-contributor span.mepr-nav-item:nth-of-type(34),
body.user-role-contributor span.mepr-nav-item:nth-of-type(35),
body.user-role-contributor span.mepr-nav-item:nth-of-type(40) {
    display: block !important;
}

/* Social Media Jury
   tab13    (Preisträger)                     = span 14
   tab17–18 (Social Media / Favoriten)        = span 18–19
   tab20–24 (Jury-Kat. Info bis Social Media) = span 21–25
   tab30–34 (Jury-Kat. 2. Block)              = span 31–35
   tab39    (Status Formulare)                 = span 40  */
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(14),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(18),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(19),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(21),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(22),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(23),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(24),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(25),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(31),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(32),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(33),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(34),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(35),
body.user-role-jury-social-media span.mepr-nav-item:nth-of-type(40) {
    display: block !important;
}

/* Administrator
   tab11–13 (Übersicht / Favoriten / Preisträger) = span 12–14 */
body.user-role-administrator span.mepr-nav-item:nth-of-type(12),
body.user-role-administrator span.mepr-nav-item:nth-of-type(13),
body.user-role-administrator span.mepr-nav-item:nth-of-type(14) {
    display: block !important;
}

/* Gewinner & Favoriten — Mike / Verena
   tab10–12 = span 11–13 */
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(11),
body.user-role-editor .blauer-panther-verwaltung span.mepr-nav-item:nth-of-type(12),
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(12),
body.user-role-editor .blauer-panther-verwaltung span.mepr-nav-item:nth-of-type(13),
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(13) {
    display: block !important;
}

/* Verwaltung — Archiv (Verena)
   tab66–70 = span 67–71 */
body.user-role-editor span.mepr-nav-item:nth-of-type(67),
body.user-role-editor span.mepr-nav-item:nth-of-type(68),
body.user-role-editor span.mepr-nav-item:nth-of-type(69),
body.user-role-editor span.mepr-nav-item:nth-of-type(70),
body.user-role-editor span.mepr-nav-item:nth-of-type(71) {
    display: block !important;
}

/* Verwaltung — Archiv (Mike)
   tab67–70 = span 68–71 */
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(68),
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(69),
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(70),
body.user-role-super-admin .screenbased-mike span.mepr-nav-item:nth-of-type(71) {
    display: block !important;
}

/* =============================================================================
   [3] AUSNAHMEN — Spezifische Sperren (überschreiben Einblendung)
   ============================================================================= */

/* Restricted [CA ohne Rechte] — überschreibt #corporate-Einblendung
   tab0–4 = span 1–5 / tab9 = span 10 */
#corporate #restricted span.mepr-nav-item:nth-of-type(1),
#corporate #restricted span.mepr-nav-item:nth-of-type(2),
#corporate #restricted span.mepr-nav-item:nth-of-type(3),
#corporate #restricted span.mepr-nav-item:nth-of-type(4),
#corporate #restricted span.mepr-nav-item:nth-of-type(5),
#corporate #restricted span.mepr-nav-item:nth-of-type(10) {
    display: none !important;
}

/* Redakteur — tab9 (Status Formulare) = span 10 */
#subaccount.user-role-editor span.mepr-nav-item:nth-of-type(10) {
    display: none !important;
}

/* Subaccount-Administrator — tab9 = span 10 */
#subaccount.user-role-administrator span.mepr-nav-item:nth-of-type(10) {
    display: none !important;
}

/* Jury (contributor) — Corporate-Tabs sperren
   tab0–4 = span 1–5 / tab9 = span 10 */
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(1),
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(2),
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(3),
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(4),
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(5),
#corporate.user-role-contributor span.mepr-nav-item:nth-of-type(10) {
    display: none !important;
}

/* Social Media Jury — Corporate-Tabs sperren
   tab0–4 = span 1–5 / tab9 = span 10 / tab13 = span 14
   tab20–23 = span 21–24 / tab30–33 = span 31–34 */
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(1),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(2),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(3),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(4),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(5),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(10),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(14),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(21),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(22),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(23),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(24),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(31),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(32),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(33),
#corporate.user-role-jury-social-media span.mepr-nav-item:nth-of-type(34) {
    display: none !important;
}

/* Prof. Dr. Schäfer — tab19 (leer-23) = span 20 */
body.user-role-editor .prof-dr-schaefer span.mepr-nav-item:nth-of-type(20) {
    display: none !important;
}

/* =============================================================================
   [4] INHALTE — Profil-Details & Tabellen-Spalten
   (keine nth-of-type auf Nav-Items — nicht betroffen vom MP-Update)
   ============================================================================= */

/* Felder für Jury ausblenden */
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(3),
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(4),
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(5),
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(6),
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(7),
#corporate.user-role-contributor .mepr-profile-details__content:nth-of-type(8) {
    display: none !important;
}

#corporate.user-role-contributor dt:nth-of-type(3),
#corporate.user-role-contributor dt:nth-of-type(4),
#corporate.user-role-contributor dt:nth-of-type(5),
#corporate.user-role-contributor dt:nth-of-type(6),
#corporate.user-role-contributor dt:nth-of-type(7),
#corporate.user-role-contributor dt:nth-of-type(8),
#corporate.user-role-contributor dt:nth-of-type(9) {
    display: none !important;
}

/* Felder für Social-Media-Jury ausblenden */
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(3),
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(4),
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(5),
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(6),
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(7),
#corporate.user-role-jury-social-media .mepr-profile-details__content:nth-of-type(8) {
    display: none !important;
}

#corporate.user-role-jury-social-media dt:nth-of-type(3),
#corporate.user-role-jury-social-media dt:nth-of-type(4),
#corporate.user-role-jury-social-media dt:nth-of-type(5),
#corporate.user-role-jury-social-media dt:nth-of-type(6),
#corporate.user-role-jury-social-media dt:nth-of-type(7),
#corporate.user-role-jury-social-media dt:nth-of-type(8),
#corporate.user-role-jury-social-media dt:nth-of-type(9) {
    display: none !important;
}

/* Subaccounts-Tabelle — Spalten ausblenden */
#mpca-sub-accounts-table tr th:nth-of-type(3),
#mpca-sub-accounts-table tr th:nth-of-type(4),
#mpca-sub-accounts-table tr th:nth-of-type(7),
tr.mpca-sub-accounts-row td:nth-of-type(3),
tr.mpca-sub-accounts-row td:nth-of-type(4) {
    display: none !important;
}
