/* public-sans-200 - latin */
@font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 200;
    src: local(""),
        url("../fonts/public-sans-v14-latin-200.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
            url("../fonts/public-sans-v14-latin-200.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* public-sans-300 - latin */
@font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 300;
    src: local(""),
    url("../fonts/public-sans-v14-latin-300.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
    url("../fonts/public-sans-v14-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* public-sans-600 - latin */
@font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 600;
    src: local(""),
    url("../fonts/public-sans-v14-latin-600.woff2") format("woff2"),
        /* Chrome 26+, Opera 23+, Firefox 39+ */
    url("../fonts/public-sans-v14-latin-600.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


@supports (font-variation-settings: normal) {

}


body {
    /*font-size: 1rem; */
    font-family: "Public Sans", sans-serif;
    background: #fdfdfd none center 8.5em no-repeat;
    background-size: 18rem;
    --header-bg: #004388;
    --header-bg-hover: #0a3353;
    --nav-bg: #f3f3f5;
    --nav: #2b2b2b;
    --nav-hover: #888;
    --nav-current: #d7d7d7;
}

body.be_login {
    background: #fdfdfd url(logo-redaktionstool.min.svg) center 8.5em no-repeat;
    background-size: 14rem;
    height: 100vh;
}

.be_login #main {
    border-radius: 2rem;
    padding: 2rem;
    background-color: white;
}
.be_login #container {
    display: grid;
    height: 100%;
    justify-content: center;
    align-items: start;
    margin: 0;
    padding-top: 18rem;
}

.be_login .tl_submit {
    margin-bottom: 2rem;
}

.be_login .footer_preview {
    display: block;
    text-align: center;
}

.icon-jobs {display:none; !important}

#header .inner {
    line-height: normal;
}

#header h1 a {
    display: block;
    height: 1rem;
    padding: 1rem;
    background: none;
    font-weight: 400;
}

#main {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
@media (min-width: 992px) {
    #main {
        padding: 1rem;
    }
}

#main .content-inner,
#main .content:not(:has(.content-inner)){
    border: 0;
    box-shadow: none;
}

i, em, .italic {
    font-variation-settings: 'ital' 1;
}

.badge-title {
    display: none;
    float: right;
    margin-left: 8px;
    margin-top: -8px;
    border-radius: 8px;
    padding: 2px 5px;
    background: #4a4e51;
    color: #c0c2ca;
    font-size: 0.6725rem;
    font-weight: 300;
}

#tl_messages {
    line-height: 1.4;
}

#tl_navigation .menu_level_1 a {
    font-weight: 200;
}
#tl_navigation .menu_level_1 a:hover,
#tl_navigation .menu_level_1 li.current a {
    color: rgb(130, 130, 130);
}
#tl_navigation .menu_level_1 li.current {
    border-left: 4px solid var(--header-bg-hover);
}
#tl_navigation .group-sgv {
    background: url("/system/themes/flexible/icons/content.svg") 3px 2px no-repeat;
}
.tl_listing .tl_left * {
    vertical-align: text-bottom;
}
.knotlink {
    cursor: default;
}

.version {
    display: none;
}

#tl_buttons .header_new {
    display: inline-block;
    border: 1px solid var(--header-bg-hover);
    background-color: #0a3353;
    color: #fff;
    padding: .5rem .5rem .5rem 2rem;
    border-radius: .5rem;
    transition: all 200ms ease-out;
    background-position: .5rem center;

}
#tl_buttons .header_new:hover {
    color: var(--header-bg-hover);
    background-color: #0a33532a;
}


.notadmin a.show,
.notadmin .tree_view .tl_right img[src$="cut--disabled.svg"],
.notadmin .tree_view .tl_right img[src$="cut--disabled--dark.svg"],
.notadmin .tree_view .tl_right img[src$="delete--disabled.svg"],
.notadmin .tree_view .tl_right img[src$="delete--disabled--dark.svg"],
.notadmin .tree_view .tl_right img[src$="copy--disabled.svg"],
.notadmin .tree_view .tl_right img[src$="copy--disabled--dark.svg"],
.notadmin .tree_view .tl_right img[src$="article.svg"],
.notadmin .tree_view .tl_right img[src$="article--dark.svg"],
.notadmin .tree_view .tl_right img[src$="article--disabled.svg"],
.notadmin .tree_view .tl_right img[src$="article--disabled--dark.svg"],
.notadmin li.operations-menu-container
{
    display: none;
}




@media(min-width: 768px) {
   .flex {
        display: flex;
        gap: 2rem;
    }
}

.messages {
    max-width: 600px;
}

#tmenu a.icon-manual {
    display: none;
}

#tmenu a.icon-color-scheme {
    display: none;
}

.notadmin .tree_view .tl_left a[title$="zeigen"] {
    pointer-events: none;
    cursor: default;
}

#home .app-title {
    color: #fff;
}
#tmenu .burger button, #tmenu .profile button, #tmenu a {
    color: white;
}

/* ─── Backend Welcome ────────────────────────────────────────────────────── */
.welcome-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6.5rem;
    align-items: center;
    margin: 0 0 1.5rem;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.welcome-hero h1 {
    margin: 0 0 0.85rem;
    padding: 1rem 0;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.93px;
    color: var(--header-bg);
}

.welcome-hero p {
    margin: 0 0 0.85rem;
    line-height: 1.6;
    color: #2b2b2b;
}

.welcome-hero p:last-child {
    margin-bottom: 0;
}

.welcome-hero__lead {
    font-size: 1.05rem;
    color: #444;
}

.welcome-hero__signoff {
    margin-top: 1.1rem !important;
    color: var(--header-bg);
    font-style: italic;
}

.welcome-hero__logo {
    max-width: 280px;
    height: auto;
    justify-self: end;
}

@media (max-width: 768px) {
    .welcome-hero {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        text-align: center;
    }
    .welcome-hero__logo {
        order: -1;
        justify-self: center;
        max-width: 200px;
    }
}

.welcome-meta {
    margin: 0 0 1.5rem;
    padding: 0.75rem 1.1rem;
    background: #f6f8fb;
    font-size: 0.875rem;
    color: #5b6268;
}

.welcome-meta p {
    margin: 0 0 0.4rem;
    line-height: 1.5;
}

.welcome-meta p:last-child {
    margin-bottom: 0;
}

.welcome-meta__login {
    font-style: italic;
    color: #6b7280;
}


/* ─── #tl_versions: "Zuletzt bearbeitet" ─────────────────────────────────── */
#tl_versions h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 300;
    color: #2b2b2b;
}

#tl_versions .tl_listing {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 0 0 1.25rem;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    font-size: 0.875rem;
}

#tl_versions .tl_listing thead th {
    padding: 0.75rem 1rem;
    background: var(--header-bg);
    color: #fff;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    border: none;
    white-space: nowrap;
}

#tl_versions .tl_listing tbody td {
    padding: 0.6rem 1rem;
    border-top: 1px solid #eceef1;
    vertical-align: middle;
    color: #2b2b2b;
}

#tl_versions .tl_listing tbody tr:first-child td {
    border-top: none;
}

#tl_versions .tl_listing tbody tr:nth-child(even) td {
    background: #f8f9fb;
}

#tl_versions .tl_listing tbody tr.hover-row:hover td,
#tl_versions .tl_listing tbody tr:hover td {
    background: #eaf1f9;
    transition: background 120ms ease-out;
}

/* aktuelle Version: <strong> als Chip */
#tl_versions .tl_listing tbody td strong {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    background: var(--header-bg);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* Aktions-Spalte */
#tl_versions .tl_listing tbody td:last-child {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

#tl_versions .tl_listing tbody td:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-left: 0.15rem;
    border-radius: 0.375rem;
    transition: background 120ms ease-out;
}

#tl_versions .tl_listing tbody td:last-child a:hover {
    background: rgba(0, 67, 136, 0.12);
}

#tl_versions .tl_listing tbody td:last-child img {
    vertical-align: middle;
    padding: 0 !important;
}