/*
 * NewsNext v1.4.2 — Safe Button/Nav Cleanup
 * Zweck: v1.4.1-Ausblendungen zurücknehmen, echte Aktionsbuttons sichtbar halten
 * und den Button-Stil ruhig mit DesignSystemCore vereinheitlichen.
 * Keine Controller-/Service-/DB-Änderung.
 */

:root{
    --nn-clean-bg: var(--dsc-surface-2, rgba(28,20,13,.96));
    --nn-clean-bg-hover: var(--dsc-surface, rgba(42,30,18,.98));
    --nn-clean-border: var(--dsc-border, rgba(255,153,0,.30));
    --nn-clean-border-strong: var(--dsc-border-strong, rgba(255,184,76,.56));
    --nn-clean-text: var(--dsc-text, #f7e5c7);
    --nn-clean-muted: var(--dsc-muted, #c7ad86);
    --nn-clean-accent: var(--dsc-accent, #ff9900);
    --nn-clean-radius: var(--dsc-radius-sm, 12px);
}

/*
 * Wichtig:
 * Keine pauschalen display:none-Regeln mehr auf NewsNext-Aktionsleisten.
 * Die interne Navigation wird bereits in Views/partials/navigation.php still gehalten.
 * Dadurch bleiben echte Buttons wie Filtern, Zurücksetzen, Bearbeiten,
 * Kommentar senden, Artikel öffnen, Speichern und Admin-Aktionen sichtbar.
 */
.newsnext-front-hero-actions,
.newsnext-header-actions,
.newsnext-article-actions,
.newsnext-article-tools,
.newsnext-editorial-actions,
.newsnext-editorial-submitbar,
.newsnext-editorial-side-actions,
.newsnext-admin-actions,
.newsnext-comment-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:10px !important;
    max-width:100% !important;
}

.newsnext-editorial-submitbar,
.newsnext-editorial-side-actions,
.newsnext-comment-actions{
    align-items:flex-start !important;
}

/* Falls ein altes Theme noch eine NewsNext-Modulnavigation ausgibt, wird sie nicht versteckt,
   sondern nur sauber begrenzt. Deduplizierung erfolgt über die View-Partial, nicht per CSS-Hide. */
.newsnext-module-nav{
    max-width:100% !important;
    overflow:hidden !important;
}
.newsnext-module-nav-left{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    align-items:center !important;
}

/* Einheitliche dunkle Bronze-Buttons statt knalliger Primärflächen. */
.newsnext-button,
.newsnext-button-soft,
.newsnext-readmore,
.newsnext-widget-action,
.newsnext-widget-head a,
.newsnext-filterbar button,
.newsnext-form button,
.newsnext-create-form button,
.newsnext-comment-form button,
.newsnext-admin-row-actions a,
.newsnext-admin-row-actions button,
.newsnext-admin-filterbar button,
.newsnext-editorial-form button,
.newsnext-admin-edit-form button,
.newsnext-comment-actions button,
a.newsnext-button,
button.newsnext-button{
    appearance:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    min-height:38px !important;
    width:auto !important;
    max-width:100% !important;
    padding:9px 14px !important;
    border-radius:var(--nn-clean-radius) !important;
    border:1px solid var(--nn-clean-border) !important;
    background:linear-gradient(180deg, rgba(42,30,18,.96), rgba(12,10,8,.98)) !important;
    color:var(--nn-clean-text) !important;
    font-weight:800 !important;
    line-height:1.15 !important;
    text-decoration:none !important;
    box-shadow:0 10px 24px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.04) !important;
    cursor:pointer !important;
    white-space:normal !important;
    text-align:center !important;
}

.newsnext-button:hover,
.newsnext-button-soft:hover,
.newsnext-readmore:hover,
.newsnext-widget-action:hover,
.newsnext-widget-head a:hover,
.newsnext-filterbar button:hover,
.newsnext-form button:hover,
.newsnext-create-form button:hover,
.newsnext-comment-form button:hover,
.newsnext-admin-row-actions a:hover,
.newsnext-admin-row-actions button:hover,
.newsnext-admin-filterbar button:hover,
.newsnext-editorial-form button:hover,
.newsnext-admin-edit-form button:hover,
.newsnext-comment-actions button:hover{
    border-color:var(--nn-clean-border-strong) !important;
    background:linear-gradient(180deg, rgba(58,40,22,.98), rgba(18,14,10,.98)) !important;
    color:#fff4df !important;
    filter:none !important;
    transform:translateY(-1px);
}

.newsnext-danger,
.newsnext-admin-row-actions .newsnext-danger,
.newsnext-admin-row-actions button.newsnext-danger,
.newsnext-comment-actions button.newsnext-danger{
    border-color:rgba(255,90,90,.42) !important;
    color:#ffd2c9 !important;
    background:linear-gradient(180deg, rgba(58,24,20,.96), rgba(18,9,8,.98)) !important;
}
.newsnext-danger:hover,
.newsnext-admin-row-actions .newsnext-danger:hover,
.newsnext-admin-row-actions button.newsnext-danger:hover,
.newsnext-comment-actions button.newsnext-danger:hover{
    border-color:rgba(255,120,120,.68) !important;
    background:linear-gradient(180deg, rgba(92,34,28,.98), rgba(26,10,8,.98)) !important;
    color:#fff4ef !important;
}

/* Formular-/Filterlayout konsistenter und ohne Überlauf. */
.newsnext-filterbar,
.newsnext-admin-filterbar{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;
    gap:10px !important;
    align-items:center !important;
}
.newsnext-filterbar input,
.newsnext-filterbar select,
.newsnext-admin-filterbar input,
.newsnext-admin-filterbar select,
.newsnext-create input,
.newsnext-create select,
.newsnext-create textarea,
.newsnext-admin-edit-form input,
.newsnext-admin-edit-form select,
.newsnext-admin-edit-form textarea,
.newsnext-comments textarea{
    border-radius:var(--nn-clean-radius) !important;
    border:1px solid var(--nn-clean-border) !important;
    background:rgba(0,0,0,.34) !important;
    color:var(--nn-clean-text) !important;
    min-width:0 !important;
}

.newsnext-card,
.newsnext-featured-card,
.newsnext-article,
.newsnext-create,
.newsnext-admin-table-wrap,
.newsnext-admin-edit-form,
.newsnext-related,
.newsnext-comments{
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
}

.newsnext-card-kicker,
.newsnext-mini-badge,
.newsnext-active-filters span,
.newsnext-meta span,
.newsnext-admin-status,
.newsnext-widget-stats span{
    border-color:var(--nn-clean-border) !important;
    background:rgba(27,19,12,.88) !important;
    color:#f3d39d !important;
}

@media(max-width:768px){
    .newsnext-front-hero-actions,
    .newsnext-header-actions,
    .newsnext-article-actions,
    .newsnext-article-tools,
    .newsnext-editorial-actions,
    .newsnext-editorial-submitbar,
    .newsnext-editorial-side-actions,
    .newsnext-admin-actions,
    .newsnext-comment-actions{
        flex-direction:column !important;
        align-items:stretch !important;
    }
    .newsnext-front-hero-actions > *,
    .newsnext-header-actions > *,
    .newsnext-article-actions > *,
    .newsnext-article-tools > *,
    .newsnext-editorial-actions > *,
    .newsnext-editorial-submitbar > *,
    .newsnext-editorial-side-actions > *,
    .newsnext-admin-actions > *,
    .newsnext-comment-actions > *{
        width:100% !important;
    }
}

/*
 * NewsNext v1.4.4 — Create/Edit Form Layout Polish
 * Ziel: Grunddaten ruhiger und breiter anzeigen, ohne Buttons/Actions zu verstecken.
 * Betrifft nur View-Struktur und CSS-Layout, keine Controller-/DB-Logik.
 */
.newsnext-editorial-main .newsnext-form-grid-basic{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
}
.newsnext-editorial-main .newsnext-form-grid-publish{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
    align-items:end !important;
}
.newsnext-editorial-main .newsnext-field-full{
    grid-column:1 / -1 !important;
}
.newsnext-editorial-main .newsnext-form-field,
.newsnext-editorial-main .newsnext-form-grid-publish > div{
    min-width:0 !important;
}
.newsnext-editorial-main label{
    display:block !important;
    margin:0 0 7px !important;
    color:var(--nn-clean-muted) !important;
    font-weight:800 !important;
    letter-spacing:.015em !important;
}
.newsnext-editorial-main .newsnext-form-grid-basic textarea{
    min-height:112px !important;
}
.newsnext-editorial-main .newsnext-form-grid-basic input,
.newsnext-editorial-main .newsnext-form-grid-basic textarea,
.newsnext-editorial-main .newsnext-form-grid-publish input,
.newsnext-editorial-main .newsnext-form-grid-publish select{
    width:100% !important;
}
.newsnext-editorial-main .newsnext-check-row{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
    margin-top:14px !important;
}
.newsnext-editorial-main .newsnext-check-row label{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    min-height:42px !important;
    padding:9px 10px !important;
    border:1px solid var(--nn-clean-border) !important;
    border-radius:var(--nn-clean-radius) !important;
    background:rgba(0,0,0,.22) !important;
    color:var(--nn-clean-text) !important;
}
.newsnext-editorial-main .newsnext-check-row input[type="checkbox"]{
    width:auto !important;
    min-height:0 !important;
    flex:0 0 auto !important;
}
@media(max-width:860px){
    .newsnext-editorial-main .newsnext-form-grid-publish{
        grid-template-columns:1fr !important;
    }
}

/*
 * NewsNext v1.4.5 — Create Form Real Layout Fix
 * Zweck: Formularlayout auch dann erzwingen, wenn ältere Theme-/Asset-Reihenfolge oder Browsercache
 * die v1.4.4-Regeln nicht zuverlässig übernommen hat. Keine Buttons/Hides, keine DB-Logik.
 */
.newsnext-v145-form-layout .newsnext-form-grid-basic{
    display:flex !important;
    flex-direction:column !important;
    gap:16px !important;
    width:100% !important;
}
.newsnext-v145-form-layout .newsnext-form-grid-basic > .newsnext-form-field,
.newsnext-v145-form-layout .newsnext-form-grid-basic > .newsnext-field-full{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    grid-column:1 / -1 !important;
}
.newsnext-v145-form-layout .newsnext-form-grid-publish{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:end !important;
    width:100% !important;
}
.newsnext-v145-form-layout .newsnext-form-grid-publish > .newsnext-field-full{
    grid-column:1 / -1 !important;
}
.newsnext-v145-form-layout .newsnext-form-field{min-width:0 !important;max-width:100% !important;}
.newsnext-v145-form-layout input:not([type="checkbox"]):not([type="radio"]),
.newsnext-v145-form-layout select,
.newsnext-v145-form-layout textarea{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
}
.newsnext-v145-form-layout textarea[name="excerpt"]{min-height:128px !important;}
.newsnext-v145-form-layout .newsnext-check-row{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
    margin-top:16px !important;
}
.newsnext-v145-form-layout .newsnext-check-row label{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    min-height:42px !important;
    padding:9px 10px !important;
    border:1px solid var(--nn-clean-border, var(--newsnext-border, rgba(255,153,0,.30))) !important;
    border-radius:var(--nn-clean-radius, var(--newsnext-radius-sm, 12px)) !important;
    background:rgba(0,0,0,.22) !important;
}
.newsnext-v145-form-layout .newsnext-check-row input[type="checkbox"]{width:auto !important;min-width:0 !important;min-height:0 !important;flex:0 0 auto !important;}
@media(max-width:860px){.newsnext-v145-form-layout .newsnext-form-grid-publish{grid-template-columns:1fr !important;}}


/* NewsNext v1.4.9: Alte NewsNext-v1.4.6-Toolbar-Overrides entfernt. RichEditorNext steuert die Editor-Toolbar selbst. */

/* NewsNext v1.4.7 — Direct Cover Upload */
.newsnext-cover-upload-field{
    display:block !important;
    width:100% !important;
}
.newsnext-cover-upload-actions{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:10px !important;
    margin-top:10px !important;
}
.newsnext-cover-file-input{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
    pointer-events:none !important;
    overflow:hidden !important;
}
.newsnext-cover-upload-state{
    display:inline-flex !important;
    align-items:center !important;
    min-height:34px !important;
    color:var(--nn-clean-muted, #c7ad86) !important;
    font-size:.9rem !important;
}
.newsnext-cover-upload-state.is-loading{color:#ffd28a !important;}
.newsnext-cover-upload-state.is-ok{color:#99e69f !important;}
.newsnext-cover-upload-state.is-error{color:#ff9b8f !important;}
.newsnext-cover-live-preview{
    margin-top:12px !important;
}
.newsnext-cover-live-preview .newsnext-cover-preview{
    max-width:100% !important;
}
.newsnext-cover-live-preview .newsnext-cover-preview img{
    display:block !important;
    width:100% !important;
    max-height:260px !important;
    object-fit:cover !important;
    border-radius:14px !important;
    border:1px solid var(--nn-clean-border, rgba(255,153,0,.30)) !important;
    background:#050505 !important;
}
.newsnext-cover-live-preview .newsnext-cover-preview-empty,
.newsnext-cover-live-preview .newsnext-cover-preview-text{
    border:1px dashed var(--nn-clean-border, rgba(255,153,0,.30)) !important;
    border-radius:14px !important;
    padding:18px !important;
    color:var(--nn-clean-muted, #c7ad86) !important;
    background:rgba(0,0,0,.22) !important;
}

/* NewsNext v1.5.0 — Full Width Editor Layout
   Redaktionscheck/Metabox werden aus der rechten Spalte geholt, damit Formular und RichEditorNext volle Breite erhalten. */
.newsnext-v150-fullwidth{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
}
.newsnext-v150-fullwidth .newsnext-editorial-main{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
}
.newsnext-v150-fullwidth .newsnext-editorial-side{
    display:none !important;
}
.newsnext-editorial-check-panel{
    margin:0 0 18px !important;
    padding:0 !important;
    border:1px solid var(--nn-clean-border, var(--newsnext-border, rgba(255,153,0,.30))) !important;
    border-radius:var(--nn-clean-radius, var(--newsnext-radius-sm, 14px)) !important;
    background:linear-gradient(180deg, rgba(26,18,12,.82), rgba(8,7,6,.82)) !important;
    overflow:hidden !important;
}
.newsnext-editorial-check-panel > summary{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    min-height:44px !important;
    padding:11px 14px !important;
    cursor:pointer !important;
    color:var(--nn-clean-gold, #ffbd63) !important;
    font-weight:900 !important;
    list-style:none !important;
    border-bottom:1px solid rgba(255,153,0,.18) !important;
}
.newsnext-editorial-check-panel > summary::-webkit-details-marker{display:none !important;}
.newsnext-editorial-check-panel > summary::after{
    content:'einklappen' !important;
    font-size:.82rem !important;
    color:var(--nn-clean-muted, #c7ad86) !important;
    font-weight:800 !important;
    border:1px solid rgba(255,153,0,.22) !important;
    border-radius:999px !important;
    padding:4px 9px !important;
    background:rgba(0,0,0,.22) !important;
}
.newsnext-editorial-check-panel:not([open]) > summary::after{content:'anzeigen' !important;}
.newsnext-editorial-check-grid{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
    gap:14px !important;
    padding:14px !important;
}
.newsnext-editorial-check-grid h3{
    margin:0 0 10px !important;
    color:var(--nn-clean-gold, #ffbd63) !important;
}
.newsnext-editorial-checklist{
    margin:0 !important;
    padding-left:20px !important;
    color:var(--nn-clean-text, #f6ead5) !important;
    line-height:1.55 !important;
}
.newsnext-editorial-checklist li{margin:4px 0 !important;}
.newsnext-editorial-meta-inline{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;
    gap:8px !important;
}
.newsnext-editorial-meta-inline span{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    min-height:36px !important;
    padding:8px 10px !important;
    border:1px solid rgba(255,153,0,.18) !important;
    border-radius:10px !important;
    background:rgba(0,0,0,.24) !important;
    color:var(--nn-clean-muted, #c7ad86) !important;
}
.newsnext-editorial-meta-inline strong{
    color:#ffe6b3 !important;
}
.newsnext-editorial-actions-inline{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:8px !important;
}
.newsnext-v150-fullwidth .newsnext-editor-shell,
.newsnext-v150-fullwidth .richeditor-next-wrap,
.newsnext-v150-fullwidth .richeditor-next-editor{
    width:100% !important;
    max-width:100% !important;
}
@media(max-width:860px){
    .newsnext-editorial-check-grid{grid-template-columns:1fr !important;}
    .newsnext-editorial-meta-inline{grid-template-columns:1fr !important;}
}

/* NewsNext v1.5.1 — Editorial Checklist Bottom Placement
   Der Redaktionscheck / die Admin-Metabox steht nun unter dem Editor
   direkt vor der Speichern-Leiste, damit der Autor vor dem Abschicken prüft. */
.newsnext-editorial-bottom-check{
    margin:18px 0 18px !important;
}
.newsnext-editorial-bottom-check > summary{
    min-height:42px !important;
}
.newsnext-editorial-submitbar{
    margin-top:0 !important;
}

/*
 * NewsNext v1.5.2 — Hero Tabs Outer Shell Layout
 * Ziel: NewsNext an den finalen ProfileNext-v6.6.8-Modulstandard angleichen.
 * Reines View-/CSS-Layout: keine DB-, Controller-, Editor- oder Upload-Logik.
 */
.newsnext-module-shell.newsnext-v152-shell{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin:0 0 22px 0 !important;
    padding:14px !important;
    border:1px solid rgba(255,153,0,.28) !important;
    border-radius:24px !important;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,153,0,.10), transparent 34%),
        linear-gradient(180deg, rgba(24,18,12,.96), rgba(10,9,8,.98)) !important;
    box-shadow:0 22px 58px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,222,166,.07) !important;
    overflow:visible !important;
    isolation:isolate !important;
}

.newsnext-module-shell.newsnext-v152-shell > *{
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
}

.newsnext-module-shell .newsnext-hero-tabs,
.newsnext-module-shell .newsnext-v152-hero-tabs{
    position:relative !important;
    z-index:3 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-end !important;
    gap:7px !important;
    margin:0 0 -1px 10px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}

.newsnext-module-shell .newsnext-hero-tab{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    min-height:34px !important;
    padding:7px 13px !important;
    border:1px solid rgba(255,153,0,.28) !important;
    border-bottom:0 !important;
    border-radius:12px 12px 0 0 !important;
    background:linear-gradient(180deg, rgba(40,27,16,.94), rgba(18,13,9,.96)) !important;
    color:#d8bf95 !important;
    font-size:.91rem !important;
    font-weight:850 !important;
    line-height:1.15 !important;
    text-decoration:none !important;
    box-shadow:0 10px 22px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045) !important;
    transform:none !important;
    white-space:nowrap !important;
}

.newsnext-module-shell .newsnext-hero-tab:hover{
    border-color:rgba(255,184,76,.48) !important;
    background:linear-gradient(180deg, rgba(58,39,21,.98), rgba(22,16,10,.98)) !important;
    color:#ffe5bd !important;
    transform:translateY(-1px) !important;
}

.newsnext-module-shell .newsnext-hero-tab.is-active,
.newsnext-module-shell .newsnext-hero-tab[aria-current="page"]{
    z-index:4 !important;
    border-color:rgba(255,190,93,.62) !important;
    background:linear-gradient(180deg, rgba(88,54,24,.98), rgba(28,19,11,.99)) !important;
    color:#fff2d9 !important;
    box-shadow:0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,222,166,.14) !important;
}

.newsnext-module-shell .newsnext-hero-tab-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
}

.newsnext-module-shell .newsnext-hero-tabs + .panel,
.newsnext-module-shell .newsnext-v152-hero-tabs + .panel{
    position:relative !important;
    z-index:2 !important;
    margin-top:0 !important;
}

.newsnext-module-shell .newsnext-front-hero,
.newsnext-module-shell .newsnext-editorial-hero,
.newsnext-module-shell .newsnext-admin-hero,
.newsnext-module-shell .newsnext-hero-panel{
    border-radius:18px !important;
    border-top-left-radius:18px !important;
    border-top-right-radius:18px !important;
    margin-bottom:14px !important;
    overflow:hidden !important;
}

.newsnext-module-shell .panel{
    max-width:100% !important;
}

.newsnext-module-shell .newsnext-featured-grid,
.newsnext-module-shell .newsnext-list-grid,
.newsnext-module-shell .newsnext-related-grid,
.newsnext-module-shell .newsnext-admin-stats-grid,
.newsnext-module-shell .newsnext-editorial-workspace{
    max-width:100% !important;
    min-width:0 !important;
}

.newsnext-module-shell .newsnext-editorial-workspace{
    margin:0 !important;
    width:100% !important;
}

.newsnext-module-shell .newsnext-editorial-main,
.newsnext-module-shell .newsnext-admin-edit-form,
.newsnext-module-shell .newsnext-create,
.newsnext-module-shell .newsnext-admin-table-wrap,
.newsnext-module-shell .newsnext-comments,
.newsnext-module-shell .newsnext-article,
.newsnext-module-shell .newsnext-related,
.newsnext-module-shell .newsnext-filterbar,
.newsnext-module-shell .newsnext-active-filters,
.newsnext-module-shell .newsnext-error,
.newsnext-module-shell .newsnext-success{
    margin-left:0 !important;
    margin-right:0 !important;
}

.newsnext-module-shell .newsnext-admin-table-wrap{
    overflow:auto !important;
}

.newsnext-module-shell .newsnext-article-toolbar{
    margin-top:0 !important;
}

@media(max-width:760px){
    .newsnext-module-shell.newsnext-v152-shell{
        padding:10px !important;
        border-radius:18px !important;
    }
    .newsnext-module-shell .newsnext-hero-tabs,
    .newsnext-module-shell .newsnext-v152-hero-tabs{
        margin-left:4px !important;
        gap:5px !important;
    }
    .newsnext-module-shell .newsnext-hero-tab{
        min-height:32px !important;
        padding:7px 10px !important;
        font-size:.86rem !important;
        white-space:normal !important;
    }
}



/*
 * NewsNext v1.5.4 — Hero Inner Padding Fix
 * Korrektur zum v1.5.3-Standard: Hero-Cards müssen nicht überall gleich hoch sein.
 * Wichtig ist ein sauberer Innenabstand wie bei ProfileNext, damit Kicker, Icon,
 * Überschrift und Beschreibung nicht am Card-Rand kleben.
 */
.newsnext-module-shell .newsnext-front-hero,
.newsnext-module-shell .newsnext-editorial-hero,
.newsnext-module-shell .newsnext-admin-hero,
.newsnext-module-shell .newsnext-hero-panel{
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    padding:22px 24px !important;
    margin-bottom:14px !important;
}
.newsnext-module-shell .newsnext-front-hero .newsnext-header-row,
.newsnext-module-shell .newsnext-editorial-hero .newsnext-header-row{
    width:100% !important;
    min-height:0 !important;
    align-items:flex-start !important;
    gap:14px !important;
}
.newsnext-module-shell .newsnext-front-hero-actions{
    display:none !important;
}
.newsnext-module-shell .newsnext-front-hero .newsnext-kicker,
.newsnext-module-shell .newsnext-editorial-hero .newsnext-kicker,
.newsnext-module-shell .newsnext-admin-hero .newsnext-kicker,
.newsnext-module-shell .newsnext-hero-panel .newsnext-kicker{
    margin:0 0 10px !important;
}
.newsnext-module-shell .newsnext-front-hero h2,
.newsnext-module-shell .newsnext-editorial-hero h2,
.newsnext-module-shell .newsnext-admin-hero h2,
.newsnext-module-shell .newsnext-hero-panel h2{
    margin:0 0 12px !important;
    line-height:1.18 !important;
}
.newsnext-module-shell .newsnext-front-hero p,
.newsnext-module-shell .newsnext-editorial-hero p,
.newsnext-module-shell .newsnext-admin-hero p,
.newsnext-module-shell .newsnext-hero-panel p{
    max-width:100% !important;
    line-height:1.55 !important;
}
.newsnext-module-shell .newsnext-front-hero p:last-child,
.newsnext-module-shell .newsnext-editorial-hero p:last-child,
.newsnext-module-shell .newsnext-admin-hero p:last-child,
.newsnext-module-shell .newsnext-hero-panel p:last-child{
    margin-bottom:0 !important;
}
@media(max-width:760px){
    .newsnext-module-shell .newsnext-front-hero,
    .newsnext-module-shell .newsnext-editorial-hero,
    .newsnext-module-shell .newsnext-admin-hero,
    .newsnext-module-shell .newsnext-hero-panel{
        padding:18px 16px !important;
    }
    .newsnext-module-shell .newsnext-front-hero .newsnext-header-row,
    .newsnext-module-shell .newsnext-editorial-hero .newsnext-header-row{
        align-items:flex-start !important;
    }
}


/* NewsNext v1.5.5 — RichEditorNext Bridge Polish */
.newsnext-v150-fullwidth .richeditor-next,
.newsnext-v150-fullwidth .richeditor-frame,
.newsnext-v150-fullwidth .richeditor-surface,
.newsnext-editor-shell .richeditor-next,
.newsnext-editor-shell .richeditor-frame,
.newsnext-editor-shell .richeditor-surface{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}
.newsnext-v145-form-layout textarea.richeditor-textarea,
.newsnext-v145-form-layout textarea[hidden].richeditor-textarea{
    display:none !important;
    width:0 !important;
    height:0 !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    overflow:hidden !important;
}
.newsnext-editor-shell .newsnext-richeditor-bridge{
    margin-top:10px !important;
}
