/* =========================== */
/*         GRUND-RESET         */
/* =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background: #7A0000 url("images/body_bg.png") repeat;
    color: #333;
}

a {
    color: #000;
    text-decoration: none;
}

    a:hover, a:active, a:focus {
        text-decoration: underline;
        color: #CF0000;
    }

input[type=text],
input[type=password],
textarea {
    border: 1px solid #ddd;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

/* =========================== */
/*       HEADINGS, IMAGES      */
/* =========================== */
h1, h2, h4, h5, h6 {
    font-weight: normal;
    margin-bottom: 15px;
}

h2 {
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
    color: #7A0000;
}

h3 {
    color: #202021;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================== */
/*       BASIC LAYOUT          */
/* =========================== */
.body_wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.center {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    transition: all 0.3s ease;
}

/* =========================== */
/*        HEADER AREA          */
/* =========================== */
.header_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

    .header_area .logo img {
        max-width: 250px;
        height: auto;
    }

/* Oberes Menü */
.top_menu ul {
    list-style: none;
    display: flex; /* horizontal */
    flex-direction: row; /* sicherstellen, dass es wirklich eine Zeile ist */
    margin: 0;
    padding: 0;
}

    .top_menu ul li {
        margin-right: 15px;
    }

        .top_menu ul li:last-child {
            margin-right: 0;
        }

        .top_menu ul li a {
            color: #7A0000;
            font-size: 14px;
            padding: 5px 10px;
            font-family: 'Arial Black', Gadget, sans-serif;
            letter-spacing: 0.5px;
            transition: color 0.3s ease, text-decoration 0.3s ease;
        }

            .top_menu ul li a:hover {
                color: #CF0000;
                text-decoration: underline;
            }

/* =========================== */
/*         MAIN CONTENT        */
/* =========================== */
.content_area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0px; /* minimaler Abstand */
}

.main_content {
    flex: 3; /* mehr Platz */
    min-width: 300px;
    padding: 0px;
}

/* =========================== */
/*          SIDEBAR           */
/* =========================== */
.sidebar {
    flex: 1;
    min-width: 250px;
    padding: 10px;
    background-color: transparent;
}

/* =========================== */
/*          FOOTER            */
/* =========================== */
.footer_bottom_area {
    text-align: center;
    background-color: transparent;
    margin-top: 20px;
}

    .footer_bottom_area p {
        color: #7A0000;
        line-height: 1.2;
    }

/* =========================== */
/*   HOME: 2-COLUMN LAYOUT    */
/* =========================== */
.two-column-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.left-col {
    flex: 2; /* Linke Spalte erhält mehr Platz */
    min-width: 300px;
}

.right-col {
    flex: 1; /* Rechte Spalte weniger Platz */
    min-width: 200px;
}

.single_left_coloum_wrapper,
.single_right_coloum {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* =========================== */
/*      SIDEBAR CONTENT       */
/* =========================== */

.single_sidebar {
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
    text-align: center; /* Sicherstellen, dass Text-Elemente auch zentriert sind */
}

.sidebar .single_sidebar img.logo-small {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

/* Beispiel: Loginbox inside Sidebar */
.sidebar .login-box {
    width: 100%;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 20px;
}

    .sidebar .login-box input[type="text"],
    .sidebar .login-box input[type="password"],
    .sidebar .login-box textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
    }

    .sidebar .login-box input[type="submit"] {
        background-color: #CF0000;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .sidebar .login-box input[type="submit"]:hover {
            background-color: #7A0000;
        }

/* Menü im Sidebar */
.menu {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .menu ul li {
            margin-bottom: 10px;
        }

            .menu ul li a {
                display: flex;
                align-items: center;
                padding: 10px;
                border-radius: 5px;
                transition: background-color 0.3s ease, color 0.3s ease;
                color: #333;
            }

                .menu ul li a:hover {
                    background-color: #7A0000;
                    color: #fff;
                }

                .menu ul li a .icon {
                    margin-right: 10px;
                    font-size: 20px;
                    color: #7A0000;
                    transition: color 0.3s ease;
                }

                .menu ul li a:hover .icon {
                    color: #fff;
                }

/* =========================== */
/*       LOGIN-STYLES         */
/* =========================== */
.login-widget {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    text-align: center;
}

.login-title {
    font-size: 1.3rem;
    color: #7A0000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.login-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
}

/* Flex-Input mit Icon */
.input-flex-container {
    display: flex;
    align-items: center;
    border: 1px solid #7A0000;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: transparent;
    gap: 8px;
}

    .input-flex-container i {
        color: #999;
        font-size: 1.1rem;
    }

    .input-flex-container input {
        border: none;
        outline: none;
        flex: 1; /* füllt restlichen Platz */
    }

.input_login {
    background-color: transparent;
    color: #7A0000;
}

.validation-msg {
    display: block;
    font-size: 0.8rem;
    color: #d32f2f; /* rot */
    margin-top: 5px;
}

.error-message {
    min-height: 20px;
    margin-bottom: 10px;
}

/* Login-Button */
.btn-login {
    background-color: #7A0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 10px;
}

    .btn-login:hover {
        background-color: #c60000;
    }

.login-extra {
    margin-top: 10px;
}

.signup-link,
.member-link {
    color: #7A0000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

    .signup-link:hover,
    .member-link:hover {
        color: #c60000;
    }

/* Logout-Button */
.logout-btn {
    background: none;
    border: none;
    color: #E5041C;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

    .logout-btn:hover {
        color: #c60000;
    }

/* =========================== */
/*        GALLERY STYLES      */
/* =========================== */
.right_gallery {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
}

    .gallery-header .title {
        font-size: 1.2rem;
        color: #7A0000;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.title-underline {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #7A0000;
}

.gallery-more {
    background-color: #7A0000;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .gallery-more:hover {
        background-color: #c40000;
    }

/* Grid-Layout für Bilder */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

    .gallery-images img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        object-fit: cover;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

        .gallery-images img:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

/* =========================== */
/*     Membertitle             */
/* =========================== */
.membertitle {
    display: flex;
    justify-content: space-between; /* Titel links, Button rechts */
    align-items: center;
    margin-bottom: 20px; /* Abstand zur nächsten Sektion */
    border-bottom: 1px solid #7A0000; /* Optional: Trennungslinie */
    padding-bottom: 10px; /* Abstand unter dem Titel */
}

    .membertitle .title {
        font-size: 1.4rem;
        color: #7A0000;
        text-transform: uppercase;
        margin: 0;
    }

    .membertitle .add {
        display: inline-block;
        background-color: #7A0000;
        color: #fff;
        font-size: 0.8rem;
        padding: 8px 15px;
        border-radius: 5px;
        text-transform: uppercase;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .membertitle .add:hover {
            background-color: #CF0000;
            transform: scale(1.1);
        }

.action-list a {
    font-size: 1.2rem;
}

    .action-list a:hover {
        text-decoration: none;
    }

/* =========================== */
/*     CARD (SCHWARZES BRETT)  */
/* =========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Flexible Spalten */
    gap: 20px; /* Abstand zwischen den Karten */
}

.card-full {
    grid-column: 1 / -1; /* Karte erstreckt sich über alle Spalten */
    margin-top: 20px; /* Zusätzlicher Abstand nach oben */
}

    .card-full .card {
        margin-bottom: 20px; /* Abstand zwischen den Notices */
    }

.card {
    background-color: #fff;
    border: 1px solid #7A0000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.card-header {
    background-color: #7A0000;
    display: flex; /* Flexbox für Zeilenlayout */
    justify-content: space-between; /* Platz zwischen Titel und Icons */
    align-items: center; /* Vertikale Ausrichtung */
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-title {
    font-size: 14px; /* Passe die Schriftgröße an */
    font-weight: bold;
    margin-right: auto;
}

.card-body {
    padding: 15px;
    color: #333;
    font-size: 0.95rem;
}

.card-actions i {
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
}

.card-actions .edit-icon {
    color: white;
}

    .card-actions .edit-icon:hover {
        color: #388e3c;
    }

.card-actions .delete-icon {
    color: white;
}

    .card-actions .delete-icon:hover {
        color: #d32f2f;
    }

/* =========================== */
/*          PAGINATION         */
/* =========================== */

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

    .pagination-container button {
        background-color: #7A0000;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .pagination-container button:hover {
            background-color: #CF0000;
        }

    .pagination-container span {
        font-size: 1rem;
        color: #7A0000;
    }

/* =========================== */
/*        CUSTOM BUTTON        */
/* =========================== */

.custom-button-speichern {
    background-color: #7A0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

    .custom-button-speichern:hover {
        background-color: #CF0000;
    }

.custom-button-abbrechen {
    background-color: #ddd;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

    .custom-button-abbrechen:hover {
        background-color: #bbb;
    }

/* Beispiel: Bier News Grid */
.beernews-wrapper {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.beernews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Zwei Spalten */
    gap: 20px;
    margin-top: 20px;
}

.beernews-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    transition: box-shadow 0.3s ease;
    background-color: #fafafa;
}

    .beernews-item:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .beernews-item h3 {
        margin-bottom: 10px;
    }

    .beernews-item img {
        margin-bottom: 10px;
    }

    .beernews-item p.meta {
        font-size: 13px;
        color: #777;
    }

/* Beispiel: F95 News Wrapper */
.f95-wrapper {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.title-container {
    margin-bottom: 10px;
    position: relative;
}

.title-underline {
    width: 50px;
    height: 3px;
    background-color: #7A0000;
    margin-top: 5px;
}

/* Buttons, z. B. "More" */
.more-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #7A0000;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .more-button:hover {
        background-color: #cf0000;
    }

.popular_more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #7A0000;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .popular_more:hover {
        background-color: #cf0000;
    }

/* =========================== */
/*   MEMBER-MENÜ: DESKTOP     */
/* =========================== */
.desktop-member-menu {
    display: block; /* Standard: sichtbar auf Desktop */
}

/* =========================== */
/*   MEMBER-MENÜ: MOBILE      */
/* =========================== */
.mobile-member-menu {
    display: none; /* erst ab kleiner View sichtbar */
    background-color: #fff;
    padding: 10px;
    border-bottom: 2px solid #7A0000;
    margin-bottom: 20px;
    text-align: center;
}

    .mobile-member-menu ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 0;
        padding: 0;
    }

    .mobile-member-menu li a {
        color: #7A0000;
        font-size: 22px;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .mobile-member-menu li a:hover {
            color: #CF0000;
        }

/* =========================== */
/*       FOOTER-SEPARATOR     */
/* =========================== */
.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
    margin-top: 25px;
    margin-bottom: 10px;
    box-shadow: 0 -5px 10px rgba(122,0,0,0.3), /* Schatten oben */
    0 5px 10px rgba(122,0,0,0.3); /* Schatten unten */
}

/* =========================== */
/*   SYNCFUSION DIALOG         */
/* =========================== */

/* Dialog-Inhalt auf volle Breite */
.sf-dialog .e-dialog-content {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    padding: 20px;
    box-sizing: border-box;
}

/* Formularelemente anpassen */
.sf-dialog .form-group {
    margin-bottom: 15px;
    width: 100% !important;
}

    .sf-dialog .form-group input.form-control {
        width: 100% !important;
        box-sizing: border-box;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #fff;
    }

    /* RichTextEditor */
    .sf-dialog .form-group .e-richtexteditor {
        width: 100% !important;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

/* Spezifisch für RichTextEditor-Inhalt */
.sf-dialog .e-richtexteditor .e-rte-content {
    padding: 10px;
    font-size: 1rem;
    color: #333;
}

/* Toolbar des RichTextEditors */
.sf-dialog .e-richtexteditor .e-toolbar {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

/* Footer-Buttons */
.sf-dialog .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

    /* Primärer Button */
    .sf-dialog .modal-footer .e-primary {
        background-color: #7A0000;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s ease;
    }

        .sf-dialog .modal-footer .e-primary:hover {
            background-color: #c60000;
        }

    /* Sekundärer Button */
    .sf-dialog .modal-footer .e-danger {
        background-color: #ddd;
        color: #333;
        border: none;
        padding: 10px 20px;
        font-size: 0.9rem;
        transition: background-color 0.3s ease;
    }

        .sf-dialog .modal-footer .e-danger:hover {
            background-color: #aaa;
        }

/* Primärer Button in memberprofile */
.memberprofile-footer .e-primary {
    background-color: #7A0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

    .memberprofile-footer .e-primary:hover {
        background-color: #c60000;
    }

/* Sekundärer Button in memberprofile */
.memberprofile-footer .e-danger {
    background-color: #ddd;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

    .memberprofile-footer .e-danger:hover {
        background-color: #aaa;
    }


/* =========================== */
/*           TABLE             */
/* =========================== */

.table-card-header {
    padding: 10px 15px;
    background-color: #7A0000;
    color: #fff;
}

    /* Container für die Suchleiste: Standardmäßig nimmt sie den verfügbaren Platz ein */
    .table-card-header .custom-search {
        flex-grow: 1;
    }

    /* Container für die Button-Gruppe */
    .table-card-header .custom-btn-group {
        /* Auf großen Bildschirmen: Buttons bleiben in einer Zeile rechts */
        display: flex;
        align-items: center;
    }

.table th,
.table td {
    vertical-align: middle !important;
}

.table-striped tbody tr:hover {
    background-color: #f1f1f1;
}

.card-actions .reload-icon {
    color: white;
}

    .card-actions .reload-icon:hover {
        color: #CFAC34;
    }

.card-actions .pdf-icon {
    color: white;
}

    .card-actions .pdf-icon:hover {
        color: #388e3c;
    }

.card-actions .excel-icon {
    color: white;
}

    .card-actions .excel-icon:hover {
        color: #388e3c;
    }

/* =========================== */
/*          Abstimmung         */
/* =========================== */
.vote-button {
    display: inline-block;
    background-color: #7A0000;
    color: #fff;
    font-size: 0.6rem;
    padding: 8px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .vote-button:hover {
        background-color: #7A0000;
        color: #CFAC34;
        transform: scale(1.1);
    }

.voted-button {
    display: inline-block;
    background-color: #7A0000;
    color: #CFAC34;
    font-size: 0.6rem;
    padding: 8px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Basis-Layout */
.article-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Titel & Meta */
.article-title {
    font-size: 2rem;
    margin-bottom: 0.5em;
    word-wrap: break-word;
}

.article-meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5em;
    line-height: 1.5;
}

/* Artikelinhalt */
.article-content {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

/* =========================== */
/*   RESPONSIVE BREAKPOINTS    */
/* =========================== */
@media (max-width: 992px) {
    .top_menu {
        margin-top: 10px;
    }

    .sidebar .single_sidebar img.logo-small {
        max-width: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .content_area {
        flex-direction: column;
    }
    /* Du könntest .sidebar nach oben ordern, 
       falls du das willst: 
       .sidebar { order: 2; } 
    */
    .logo img {
        max-width: 120px;
    }

    .single_sidebar img.logo-small {
        max-width: 50%;
        height: auto;
        margin-bottom: 20px;
    }

    .main_content, .sidebar {
        padding: 0;
    }

    .two-column-container {
        flex-direction: column;
    }

    .beernews-grid {
        grid-template-columns: 1fr; /* nur eine Spalte */
    }

    .header_area {
        flex-direction: column;
        align-items: center;
    }

    .top_menu {
        justify-content: center;
        width: 100%;
        margin: 5px 0;
    }

        .top_menu ul {
            flex-direction: row;
            justify-content: center;
        }

    .responsive-dialog .e-dialog {
        width: 95%; /* Reduziert die Breite des Dialogs für kleinere Bildschirme */
        max-width: 95%;
    }

    .responsive-dialog .e-dialog-content {
        max-height: 70vh; /* Reduziert die Höhe des Inhalts auf mobilen Geräten */
    }

    .article-detail {
        padding: 15px;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        font-size: 0.85rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .membertitle {
        flex-direction: column;
        align-items: flex-start;
    }

    .add {
        margin-top: 10px;
    }

    .table-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .card-actions {
        margin-top: 10px;
    }

    .table thead th, .table tbody td {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 14px;
    }

    .top_menu ul li a {
        font-size: 12px;
    }

    .left-col .right-col {
        min-width: 100%;
    }

    .sidebar .single_sidebar img.logo-small {
        max-width: 50%;
        margin-bottom: 20px;
    }

    .login-widget {
        padding: 15px;
    }

    .login-title {
        font-size: 1.2rem;
    }

    .login-subtitle {
        font-size: 0.85rem;
    }

    .form-group {
        max-width: 100%;
    }

    .btn-login {
        width: 100%;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .title-underline {
        bottom: -8px;
    }

    .gallery-more {
        margin-top: 10px;
    }

    /* Card-Grid mobil nur 1 Spalte */
    .card-grid {
        grid-template-columns: 1fr;
    }

    /* MOBILE: Schalte Desktop-Menü aus, Mobile-Menü an */
    .desktop-member-menu {
        display: none !important;
    }

    .mobile-member-menu {
        display: block !important;
    }

    .custom-card-header .custom-search {
        flex-basis: 100%;
    }
    /* Die Button-Gruppe erhält unten einen kleinen Abstand und die Buttons bleiben rechtsbündig */
    .custom-card-header .custom-btn-group {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .article-detail {
        padding: 10px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-meta {
        font-size: 0.8rem;
    }

    .article-content {
        font-size: 0.9rem;
    }

    .action-list a {
        font-size: 1rem;
    }

    .table thead th, .table tbody td {
        font-size: 0.8rem;
    }
}
/* =========================== */
/*   FIX FLOAT CLASSES         */
/* =========================== */
.floatleft, .floatright {
    float: none !important;
    display: block !important;
    width: auto !important;
}

/* =========================== */
/*      ACCESS DENIED          */
/* =========================== */
.access-denied-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
}

    .access-denied-container h1 {
        color: #d9534f; /* z.B. Bootstrap-danger Farbe */
        margin-bottom: 20px;
    }

    .access-denied-container p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* Syncfusion*/
/* Stil für die gesamte Dialog-Komponente */
.responsive-dialog .e-dialog {
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    max-width: 100%; /* Begrenzung auf die Bildschirmbreite */
}

/* Dialog-Inhalt an die Bildschirmgröße anpassen */
.responsive-dialog .e-dialog-content {
    max-height: 80vh; /* Maximale Höhe des Inhalts für Scrollen */
    overflow-y: auto;
    padding: 16px;
}

/* Allgemeiner Stil für Formularinhalte */
.form-dialog {
    width: 100%; /* Füllt den verfügbaren Platz im Dialog */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Dialog-Inhalt an die verfügbare Höhe anpassen */
.dialog-content {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Abstand zwischen den Elementen */
    height: calc(100% - 60px); /* Platz für den Footer (Buttons) freihalten) */
    overflow: hidden; /* Inhalt nicht überlaufen lassen */
}

/* RichTextEditor nimmt den gesamten verfügbaren Platz ein */
.richtext-container {
    flex-grow: 1; /* Nimmt den restlichen Platz ein */
    display: flex;
    flex-direction: column;
}

    .richtext-container > div {
        flex-grow: 1; /* RichTextEditor selbst wird gestreckt */
        min-height: 200px; /* Mindesthöhe für kleine Dialoge */
        overflow: auto; /* Scrollbar, wenn nötig */
    }

/* Footer am unteren Rand */
.dialog-footer {
    display: flex;
    justify-content: flex-end; /* Buttons rechtsbündig */
    gap: 16px; /* Abstand zwischen Buttons */
    padding: 16px 0 0; /* Oben etwas Abstand */
}

/* Eingebettete Medien im Artikelinhalt */
.article-content img,
.article-content video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Für Buttons, falls du Bootstrap nicht verwendest */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.mt-3 {
    margin-top: 1rem;
}

/* Zusätzliche CSS für neue Tabellenspalten */
table.table-striped th, table.table-striped td {
    vertical-align: middle;
}

/* Eingebettete Medien im Artikelinhalt */
.article-content img,
.article-content video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Willkommenstext Styling */
.welcome-text {
    text-decoration: none;
    color: #28a745; /* Beispiel: Grün */
    cursor: pointer;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: inline-block;
}

    .welcome-text:hover {
        text-decoration: underline;
    }

    .welcome-text p {
        margin: 0;
        padding: 0;
    }

.footer_logo {
    width: 600px;
    height: auto;
    margin-bottom: 0.5rem;
}