.mb-page {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mb-page *, .mb-page *::before, .mb-page *::after { box-sizing: border-box; }
.mb-page a { transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease; }

.mb-titlebar,
.mb-toolbar,
.mb-section-heading,
.mb-card-footer,
.mb-entry-meta,
.mb-author,
.mb-actions,
.mb-form-actions {
    display: flex;
    align-items: center;
}

.mb-title-actions { display: flex; align-items: center; gap: 8px; }

.mb-titlebar { justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.mb-titlebar h1, .mb-form-card h1, .mb-article h1 { margin: 0; color: #161a15; }
.mb-titlebar h1 { font-size: 30px; }
.mb-titlebar p { margin: 6px 0 0; color: var(--mb-muted); }

.mb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #cbd3c5;
    border-radius: 5px;
    background: #fff;
    color: #33402e !important;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}
.mb-button:hover { border-color: #94aa86; background: #f8fbf6; }
.mb-button-primary { border-color: var(--mb-accent-dark); background: var(--mb-accent-dark); color: #fff !important; }
.mb-button-primary:hover { background: #243f0e; }
.mb-button-danger { border-color: #b64242; color: #a22626 !important; }
.mb-button-danger:hover { background: #fff3f3; }

.mb-toolbar {
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid var(--mb-border);
    border-radius: 7px;
    background: #f9fbf7;
}
.mb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.mb-chip {
    padding: 6px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #49603c !important;
    text-decoration: none !important;
}
.mb-chip:hover { background: #edf3e8; }
.mb-chip.is-active { border-color: #9eb88d; background: var(--mb-accent-soft); color: var(--mb-accent-dark) !important; font-weight: 700; }
.mb-sort { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.mb-sort label { color: var(--mb-muted); font-size: 12px; }
.mb-sort select { min-height: 34px; border: 1px solid #bdc8b6; border-radius: 4px; background: #fff; padding: 4px 28px 4px 9px; }

.mb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mb-card {
    overflow: hidden;
    border: 1px solid var(--mb-border);
    border-radius: 7px;
    background: var(--mb-card);
    box-shadow: 0 3px 10px rgba(35, 55, 25, .08);
}
.mb-card:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(35, 55, 25, .12); }
.mb-card-cover, .mb-hero-cover { position: relative; display: block; overflow: hidden; background: #d9eff1; }
.mb-card-cover { height: 190px; }
.mb-card-cover > img, .mb-hero-cover > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-category { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 999px; background: rgba(28, 52, 12, .88); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,.14); }
.mb-card-body { min-height: 158px; padding: 14px 16px; }
.mb-card-body h2 { margin: 0 0 7px; font-size: 18px; line-height: 1.3; }
.mb-card-body h2 a { color: #279119; text-decoration: none; }
.mb-card-body h2 a:hover { color: #17680e; }
.mb-card-body p { margin: 0 0 12px; color: #4c554a; line-height: 1.55; }
.mb-latest { margin-top: 12px; color: #53604f; font-size: 12px; }
.mb-read-link { color: var(--mb-accent-dark) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.mb-card-footer { justify-content: space-between; min-height: 58px; padding: 9px 14px; border-top: 1px solid #e0e6dc; background: #f8fbf5; }
.mb-author { gap: 10px; min-width: 0; }
.mb-author span { display: flex; min-width: 0; flex-direction: column; }
.mb-author strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-author small { margin-top: 2px; color: var(--mb-muted); }
.mb-avatar { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #d5ddd0; border-radius: 50%; object-fit: cover; background: #eef1eb; }
.mb-count { color: #556451; font-size: 12px; }

.mb-default-cover { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(135deg, #7bd8f2, #47acd5); }
.mb-default-cover i { position: absolute; display: block; width: 60%; height: 180%; top: -45%; transform: rotate(35deg); background: rgba(255,255,255,.13); }
.mb-default-cover i:nth-child(1) { left: -30%; }
.mb-default-cover i:nth-child(2) { left: 22%; background: rgba(255,255,255,.2); }
.mb-default-cover i:nth-child(3) { right: -34%; background: rgba(14,121,178,.18); }

.mb-empty { grid-column: 1 / -1; padding: 42px 24px; border: 1px dashed #bdc9b6; border-radius: 7px; background: #fbfcfa; text-align: center; }
.mb-empty strong { font-size: 17px; }
.mb-empty p { margin: 7px 0 0; color: var(--mb-muted); }
.mb-pagination { margin-top: 22px; }

.mb-blog-hero { display: grid; grid-template-columns: minmax(300px, 44%) 1fr; overflow: hidden; margin-bottom: 28px; border: 1px solid var(--mb-border); border-radius: 8px; background: #fff; box-shadow: 0 4px 15px rgba(35, 55, 25, .08); }
.mb-hero-cover { min-height: 330px; }
.mb-hero-content { align-self: center; padding: 32px; }
.mb-hero-content .mb-author { margin-bottom: 15px; color: var(--mb-muted); }
.mb-hero-content h1 { margin: 0 0 13px; font-size: 31px; line-height: 1.2; }
.mb-hero-content > p { margin: 0; color: #4f594c; line-height: 1.65; }
.mb-actions { flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.mb-section-heading { justify-content: space-between; margin: 0 0 12px; }
.mb-section-heading h2 { margin: 0; }
.mb-section-heading span { color: var(--mb-muted); }
.mb-entry-list { display: grid; gap: 12px; }
.mb-entry-card { padding: 20px 22px; border: 1px solid var(--mb-border); border-radius: 7px; background: #fff; }
.mb-entry-date { color: var(--mb-muted); font-size: 12px; }
.mb-entry-card h2 { margin: 6px 0 9px; font-size: 21px; }
.mb-entry-card h2 a { color: #2d6418; text-decoration: none; }
.mb-entry-card p { margin: 0; color: #4f594c; line-height: 1.58; }
.mb-entry-meta { justify-content: space-between; margin-top: 14px; color: var(--mb-muted); font-size: 12px; }
.mb-entry-meta a { color: var(--mb-accent-dark); font-weight: 700; text-decoration: none; }

.mb-form-card, .mb-article { max-width: 780px; margin: 0 auto; padding: 28px; border: 1px solid var(--mb-border); border-radius: 8px; background: #fff; box-shadow: 0 3px 14px rgba(35,55,25,.07); }
.mb-form-wide { max-width: 900px; }
.mb-form-card > p { color: var(--mb-muted); }
.mb-form-card label { display: block; margin: 18px 0; font-weight: 700; }
.mb-form-card input[type="text"], .mb-form-card input[type="file"], .mb-form-card select, .mb-form-card textarea {
    display: block; width: 100%; margin-top: 7px; padding: 10px 11px; border: 1px solid #bcc7b6; border-radius: 5px; background: #fff; color: #222; font: inherit;
}
.mb-form-card textarea { resize: vertical; line-height: 1.5; }
.mb-form-card input:focus, .mb-form-card select:focus, .mb-form-card textarea:focus { border-color: var(--mb-accent); outline: 2px solid rgba(79,127,34,.14); }
.mb-form-card label small { display: block; margin-top: 5px; color: var(--mb-muted); font-weight: 400; }
.mb-check { font-weight: 400 !important; }
.mb-current-cover { width: 280px; height: 110px; overflow: hidden; border-radius: 5px; }
.mb-current-cover img { width: 100%; height: 100%; object-fit: cover; }
.mb-form-actions { gap: 9px; margin-top: 24px; }
.mb-errors { padding: 12px 15px; margin: 16px 0; border: 1px solid #df9c9c; border-radius: 5px; background: #fff4f4; color: #842525; }
.mb-errors ul { margin: 7px 0 0 19px; padding: 0; }
.mb-confirm { text-align: center; }
.mb-confirm .mb-form-actions { justify-content: center; }

.mb-article { max-width: 900px; padding: 0; overflow: hidden; }
.mb-article-cover { position: relative; height: 340px; overflow: hidden; background: #d9eff1; }
.mb-article-cover > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mb-article header { padding: 30px 42px 24px; border-bottom: 1px solid #e0e6dc; }
.mb-back { display: inline-block; margin-bottom: 18px; color: var(--mb-accent-dark); text-decoration: none; }
.mb-article h1 { margin-bottom: 18px; font-size: 34px; line-height: 1.2; }
.mb-article-meta { display: flex; align-items: center; gap: 10px; }
.mb-article-meta span { display: flex; flex-direction: column; }
.mb-article-meta small { margin-top: 3px; color: var(--mb-muted); }
.mb-article-body { padding: 27px 42px 40px; font-size: 15px; line-height: 1.72; overflow-wrap: anywhere; }
.mb-article-body img { max-width: 100%; height: auto; }
.mb-article-body blockquote { margin: 18px 0; padding: 8px 18px; border-left: 4px solid #94b47d; background: #f6faf3; }

@media (max-width: 760px) {
    .mb-page { margin-top: 16px; }
    .mb-titlebar, .mb-toolbar { align-items: stretch; flex-direction: column; }
    .mb-title-actions { align-items: stretch; flex-direction: column; }
    .mb-titlebar .mb-button { align-self: flex-start; }
    .mb-grid { grid-template-columns: 1fr; }
    .mb-card-cover { height: 175px; }
    .mb-blog-hero { grid-template-columns: 1fr; }
    .mb-hero-cover { min-height: 220px; max-height: 280px; }
    .mb-hero-content { padding: 23px; }
    .mb-hero-content h1 { font-size: 26px; }
    .mb-form-card { padding: 21px 17px; }
    .mb-article-cover { height: 220px; }
    .mb-article header { padding: 24px 18px 20px; }
    .mb-article-body { padding: 23px 18px 30px; }
    .mb-article h1 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
    .mb-page a { transition: none; }
    
 /* =========================================================
   Kleinere Blog-Vorschaukarten
   ========================================================= */

.mb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 420px);
    gap: 20px;
    justify-content: start;
    align-items: start;
}

.mb-card {
    max-width: 420px;
    width: 100%;
    margin: 0;
}

.mb-card-cover {
    height: 170px;
    overflow: hidden;
}

.mb-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mb-card-body {
    padding: 14px 16px;
}

.mb-card-body h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.mb-card-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
}

.mb-card-footer {
    padding: 12px 16px;
}

/* Optional: Text kÃ¼rzer abschneiden wie bei modernen Karten */
.mb-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive: auf kleineren Bildschirmen untereinander */
@media screen and (max-width: 1000px) {
    .mb-grid {
        grid-template-columns: 1fr;
    }

    .mb-card {
        max-width: 100%;
    }
}

/* =========================================================
   MemberBlogs Kategorienleiste im Revolution-Stil
   ========================================================= */

.mb-toolbar {
    background: #151515 url("../images/revolution/thead.png") top left repeat-x !important;
    border: 1px solid #232323 !important;
    color: #ffffff !important;

    padding: 12px 15px !important;
    border-radius: 0 !important;

    box-shadow: inset 0 0 1px 1px #262626;
}

/* Kategorien */
.mb-toolbar .mb-chip {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    text-shadow: none !important;
}

/* Aktive Kategorie */
.mb-toolbar .mb-chip.is-active {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid #555 !important;
    color: #ffffff !important;
}

/* Hover */
.mb-toolbar .mb-chip:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* "Sortieren:" */
.mb-toolbar .mb-sort,
.mb-toolbar .mb-sort label {
    color: #ffffff !important;
    text-shadow: none !important;
}

/* Dropdown */
.mb-toolbar .mb-sort select {
    background: #181818 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}
.mb-toolbar .mb-chip,
.mb-toolbar .mb-chip:link,
.mb-toolbar .mb-chip:visited,
.mb-toolbar .mb-chip:hover,
.mb-toolbar .mb-chip:active {
    color: #ffffff !important;
    text-shadow: none !important;
}

.mb-toolbar .mb-chip {
    background: transparent !important;
    border-color: transparent !important;
}

.mb-toolbar .mb-chip.is-active {
    background: rgba(255,255,255,0.10) !important;
    border: 1px solid #666 !important;
}

.mb-toolbar .mb-sort,
.mb-toolbar .mb-sort label {
    color: #ffffff !important;
    text-shadow: none !important;
}

.mb-toolbar .mb-sort select {
    background: #181818 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
}
/* =========================================================
   MemberBlogs - Schrift wie im restlichen Revolution Theme
   ========================================================= */

.mb-page,
.mb-page *,
.mb-page a,
.mb-page button,
.mb-page input,
.mb-page select,
.mb-page textarea {
    font-family: 'Droid Sans', sans-serif !important;
}

/* Normale Texte */
.mb-page {
    font-size: 13px !important;
}

/* Blog-Header / Kategorien */
.mb-titlebar,
.mb-toolbar,
.mb-chip,
.mb-sort,
.mb-sort label,
.mb-sort select {
    font-size: 13px !important;
}

/* Artikel�«äberschrift */
.mb-card-body h2,
.mb-article h1,
.mb-form-card h1 {
    font-family: 'Droid Sans', sans-serif !important;
}

/* Kleine Metadaten */
.mb-card-footer,
.mb-author,
.mb-author small,
.mb-count {
    font-family: 'Droid Sans', sans-serif !important;
    font-size: 12px !important;
}
    
}


