/* Beehive CSS Framework - Core + YASPA Extensions
   * V 1.0.40
*/

/* ===== Core Variables ===== */
:root {
    --bh-color-primary: #ffb300;
    --bh-color-secondary: #2c3e50;
    --bh-color-light: #ecf0f1;
    --bh-color-dark: #2c3e50;
    --bh-color-white: #ffffff;
    --bh-color-black: #000000;
    --bh-color-footer: #888;

    --bh-border-radius: 4px;

    --bh-background-light: #ffffff;
    --bh-background-dark: #2c3e50;

    --bh-navigation-background: #f8f9fa;
    --bh-footer-background: #f8f9fa;

    --bh-color-success: #27ae60;
    --bh-color-success-dark: #1e874b;

    --bh-color-info: #3498db;
    --bh-color-info-dark: #217dbb;

    --bh-color-warning: #f39c12;
    --bh-color-warning-dark: #c87f0a;

    --bh-color-notice: #8e44ad;
    --bh-color-notice-dark: #6c3483;

    --bh-color-danger: #e74c3c;
    --bh-color-danger-dark: #c0392b;

    --bh-navigation-active: #ffb300;
    --bh-navigation-active-dark: #c78f00;
}


.bh-overlay {
    background-color: var(--bh-background-light);
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.bh-plugin-frontend-wrap {
    min-height: 100vh;
    flex-shrink: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}


.bh-plugin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bh-background-light);
    border-radius: var(--bh-border-radius) var(--bh-border-radius) 0 0;
    min-height: 42px;
}

.bh-plugin-header-frontpage, .bh-plugin-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bh-background-light);
}

.bh-plugin-header-first, .bh-plugin-header-frontpage-first {
    border-radius: var(--bh-border-radius) var(--bh-border-radius) 0 0;
}

.bh-plugin-footer-copyright {
    font-size: 0.8rem;
    color: var(--bh-color-footer);
    padding-right: 10px;
}

.bh-plugin-footer .footer-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bh-color-footer);
    margin-right: 0.25rem;
}

.bh-plugin-footer .footer-value {
    font-size: 0.8rem;
    color: var(--bh-color-footer);
    padding-right: 10px;
}

.bh-plugin-footer-bg-white {
    background-color: #fff !important;
}

.bh-plugin-footer-center {
    min-height: 0;
    padding: 0 1rem;
}

.pull-right {
    justify-items: flex-end;
}

.bh-plugin-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--bh-color-primary);
    padding: 2px 12px 0 2px;
    border-right: 2px solid #ddd;
}

.bh-plugin-logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.bh-plugin-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--bh-color-primary);
    flex-grow: 1;
    text-align: left;
    padding-left: 12px;
}

.bh-plugin-title-frontpage {
    font-size: 20px;
    font-weight: 600;
    color: var(--bh-color-primary);
    text-align: left;
    padding-left: 12px;
    flex-grow: 1;
}

.bh-plugin-version {
    font-size: 1em;
    color: #888;
    justify-self: flex-end;
}

.bh-nav {
    width: 100%;
}

div#yaspa-navigation-wrapper .bh-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.bh-nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- ÄNDERUNG START --- */

/* Das Listenelement selbst hat keinen Innenabstand mehr */
.bh-nav-item {
    margin-right: 0;
    background: var(--bh-color-secondary);
    border: 1px solid;
    border-color: inherit;
    /* Der padding wird entfernt und zum Link verschoben */
}

/* Der Link füllt das gesamte Listenelement aus */
.bh-nav-item a {
    display: block; /* Wichtig: Macht den Link zu einem Block-Element */
    padding: 0.5rem 1rem; /* Hier kommt der Innenabstand hin */
    text-decoration: none;
    color: var(--bh-color-white);
}

.bh-nav-item:last-child {
    margin-right: 0;
}

.bh-nav-item:hover {
    background: var(--bh-navigation-active);
    text-decoration: none;
}

.bh-nav-item.active, .bh-nav-item-active {
    background: var(--bh-navigation-active);
    border-color: var(--bh-navigation-active);
}

/* Styling für den Link im aktiven Zustand */
.bh-nav-item.active a, .bh-nav-item-active a {
    color: var(--bh-color-black);
}

/* Hover-Zustand für das gesamte Element bleibt gleich */
.bh-nav-item.active:hover, .bh-nav-item-active:hover {
    background: var(--bh-navigation-active);
    border-color: var(--bh-navigation-active);
}

/* Hover-Zustand für den Link im aktiven Zustand */
.bh-nav-item.active:hover a, .bh-nav-item-active:hover a {
   /*// color: var(--bh-color-primary);*/
}

/* --- ÄNDERUNG ENDE --- */


.bh-nav-burger {
    display: none;
}

.bh-nav-link, .bh-nav-link:focus, .bh-nav-link:hover {
    color: var(--bh-color-black);
}

.bh-plugin-wrapper .bh-nav-burger .bh-button.bh-nav-trigger {
    background: var(--bh-navigation-background);
    display: block;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bh-plugin-wrapper .bh-nav-burger .bh-button.bh-nav-trigger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bh-color-primary);
    margin: 5px 0;
}

.bh-plugin-cards {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bh-plugin-card {
    background: #fff;
    padding: 20px;
    padding-right: 40px;
    border-right: 1px solid #eee;
    align-items: stretch;
}

.bh-plugin-card.bh-plugin-card-last {
    border-right: none;
}

.bh-plugin-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bh-plugin-card-title {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    gap: 10px; /* Abstand zwischen Icon & Text */
    font-size: 18px;
    font-weight: 600;
    color: var(--bh-color-dark);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.bh-plugin-card-body {
    flex: 1 1 auto;
    margin-bottom: 10px;
}

.bh-plugin-card-actions {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.bh-plugin-card-actions a.bh-plugin-card-action {
    color: var(--bh-color-primary);
    text-decoration: none;
}

.bh-plugin-card-title .bh-icon {
    display: flex; /* Flex-Container für SVG */
    align-items: center; /* Vertikal im Container */
    justify-content: center; /* Optional – zentriert bei quadratischen Icons */
    width: 24px; /* Feste Breite für Ausrichtung */
    height: 24px;
    flex-shrink: 1; /* Verhindert Verkleinern */
}

.bh-plugin-card-title .bh-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--bh-color-primary); /* Farbe aus beehive-Theme */
}
.bh-plugin-card-content {
    flex-grow: 1; /* Weist den Inhaltsbereich an, allen verfügbaren freien Platz in der Karte einzunehmen */
}

#bh-overlay {
    display: none;
}

#bh-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}


.bh-overlay-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    width: 90%;
    height: auto;
    background-color: var(--bh-color-white);
    border-radius: var(--bh-border-radius);
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bh-overlay-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--bh-color-dark);
}

.bh-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background-color: var(--bh-color-white);
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.bh-overlay-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bh-color-footer);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    border-radius: var(--bh-border-radius);
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bh-overlay-close:hover {
    background-color: #f5f5f5;
    color: var(--bh-color-danger);
}

.bh-overlay-view {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ====== 12-Column Grid System ====== */

.bh-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.bh-grid:last-child {
    margin-bottom: 0;
}

.bh-col-1 {
    grid-column: span 1 / auto;
}

.bh-col-2 {
    grid-column: span 2 / auto;
}

.bh-col-3 {
    grid-column: span 3 / auto;
}

.bh-col-4 {
    grid-column: span 4 / auto;
}

.bh-col-5 {
    grid-column: span 5 / auto;
}

.bh-col-6 {
    grid-column: span 6 / auto;
}

.bh-col-7 {
    grid-column: span 7 / auto;
}

.bh-col-8 {
    grid-column: span 8 / auto;
}

.bh-col-9 {
    grid-column: span 9 / auto;
}

.bh-col-10 {
    grid-column: span 10 / auto;
}

.bh-col-11 {
    grid-column: span 11 / auto;
}

.bh-col-12 {
    grid-column: span 12 / auto;
}

.grid-item-container {
    box-sizing: border-box;
    height: 100%;
}

.grid-item-container-bottom {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.bh-plugin-wrapper .bh-button, .bh-overlay .bh-button {
    margin-right: 0;
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.grid-item-container {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px;
    box-sizing: border-box;
    border-radius: var(--bh-border-radius);
}

.bh-plugin-wrapper .bh-button.bh-button-margin-top, .bh-overlay .bh-button.bh-button-margin-top {
    margin-top: 10px;
}

.bh-plugin-wrapper .bh-button:last-child, .bh-overlay .bh-button:last-child {
    margin-right: 0;
}

.bh-plugin-wrapper .bh-button-save, .bh-plugin-wrapper .bh-button-new, .bh-plugin-wrapper .bh-button-success,
.bh-overlay .bh-button-save, .bh-overlay .bh-button-new, .bh-overlay .bh-button-success {
    background-color: var(--bh-color-success);
    color: var(--bh-color-white);
}

.bh-plugin-wrapper .bh-button-save:focus, .bh-plugin-wrapper .bh-button-new:focus, .bh-plugin-wrapper .bh-button-success:focus,
.bh-overlay .bh-button-save:focus, .bh-overlay .bh-button-new:focus, .bh-overlay .bh-button-success:focus {
    background-color: var(--bh-color-success-dark);
    outline: none;
    border: none;
}

.bh-plugin-wrapper .bh-button-save:hover, .bh-plugin-wrapper .bh-button-new:hover, .bh-plugin-wrapper .bh-button-success:hover,
.bh-overlay .bah-button-save:hover, .bh-overlay .bh-button-new:hover, .bh-overlay .bh-button-success:hover {
    background-color: var(--bh-color-success-dark);
    color: var(--bh-color-white);
}

.bh-plugin-wrapper .bh-button-info, .bh-overlay .bh-button-info {
    background-color: var(--bh-color-info);
    color: var(--bh-color-white);
}

.bh-plugin-wrapper .bh-button-info:hover, .bh-overlay .bh-button-info:hover {
    background-color: var(--bh-color-info-dark);
}

.bh-plugin-wrapper .bh-button-warning, .bh-plugin-wrapper .bh-button-edit,
.bh-overlay .bh-button-warning, .bh-overlay .bh-button-edit {
    background-color: var(--bh-color-warning);
    color: var(--bh-color-black);
}

.bh-plugin-wrapper .bh-button-warning:focus, .bh-plugin-wrapper .bh-button-edit:focus,
.bh-overlay .bh-button-warning:focus, .bh-overlay .bh-button-edit:focus {
    background-color: var(--bh-color-warning-dark);
    outline: none;
}

.bh-plugin-wrapper .bh-button-warning:hover, .bh-plugin-wrapper .bh-button-edit:hover,
.bh-overlay .bh-button-warning:hover, .bh-overlay .bh-button-edit:hover {
    background-color: var(--bh-color-warning-dark);
}

.bh-plugin-wrapper .bh-button-notice, .bh-overlay .bh-button-notice {
    background-color: var(--bh-color-notice);
    color: var(--bh-color-white);
}

.bh-plugin-wrapper .bh-button-notice:hover, .bh-overlay .bh-button-notice:hover {
    background-color: var(--bh-color-notice-dark);
}

.bh-plugin-wrapper .bh-button-danger, .bh-plugin-wrapper .bh-button-delete, .bh-plugin-wrapper .bh-button-cancel,
.bh-overlay .bh-button-danger, .bh-overlay .bh-button-delete, .bh-overlay .bh-button-cancel {
    background-color: var(--bh-color-danger);
    color: var(--bh-color-white);
}

.bh-plugin-wrapper .bh-button-danger:focus, .bh-plugin-wrapper .bh-button-delete:focus, .bh-plugin-wrapper .bh-button-cancel:focus,
.bh-overlay .bh-button-danger:focus, .bh-overlay .bh-button-delete:focus, .bh-overlay .bh-button-cancel:focus {
    background-color: var(--bh-color-danger-dark);
    outline: none;
}

.bh-plugin-wrapper .bh-button-danger:hover, .bh-plugin-wrapper .bh-button-delete:hover, .bh-plugin-wrapper .bh-button-cancel:hover,
.bh-overlay .bh-button-danger:hover, .bh-overlay .bh-button-delete:hover, .bh-overlay .bh-button-cancel:hover {
    background-color: var(--bh-color-danger-dark);
}

.bh-plugin-wrapper .bh-button:disabled, .bh-overlay .bh-button:disabled,
.bh-plugin-wrapper .bh-button.disabled, .bh-overlay .bh-button.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.bh-plugin-wrapper .bh-button-success:disabled, .bh-plugin-wrapper .bh-button-new:disabled, .bh-plugin-wrapper .bh-button-save:disabled,
.bh-overlay .bh-button-success:disabled, .bh-overlay .bh-button-new:disabled, .bh-overlay .bh-button-save:disabled,
.bh-plugin-wrapper .bh-button-success.disabled, .bh-plugin-wrapper .bh-button-new.disabled, .bh-plugin-wrapper .bh-button-save.disabled,
.bh-overlay .bh-button-success.disabled, .bh-overlay .bh-button-new.disabled, .bh-overlay .bh-button-save.disabled {
    background-color: var(--bh-color-success);
}

.bh-plugin-wrapper .bh-button-info:disabled, .bh-overlay .bh-button-info:disabled,
.bh-plugin-wrapper .bh-button-info.disabled, .bh-overlay .bh-button-info.disabled {
    background-color: var(--bh-color-info);
}

.bh-plugin-wrapper .bh-button-warning:disabled, .bh-plugin-wrapper .bh-button-edit:disabled,
.bh-overlay .bh-button-warning:disabled, .bh-overlay .bh-button-edit:disabled,
.bh-plugin-wrapper .bh-button-warning.disabled, .bh-plugin-wrapper .bh-button-edit.disabled,
.bh-overlay .bh-button-warning.disabled, .bh-overlay .bh-button-edit.disabled {
    background-color: var(--bh-color-warning);
}

.bh-plugin-wrapper .bh-button-notice:disabled, .bh-overlay .bh-button-notice:disabled,
.bh-plugin-wrapper .bh-button-notice.disabled, .bh-overlay .bh-button-notice.disabled {
    background-color: var(--bh-color-notice);
}

.bh-plugin-wrapper .bh-button-danger:disabled, .bh-plugin-wrapper .bh-button-delete:disabled, .bh-plugin-wrapper .bh-button-cancel:disabled,
.bh-overlay .bh-button-danger:disabled, .bh-overlay .bh-button-delete:disabled, .bh-overlay .bh-button-cancel:disabled,
.bh-plugin-wrapper .bh-button-danger.disabled, .bh-plugin-wrapper .bh-button-delete.disabled, .bh-plugin-wrapper .bh-button-cancel.disabled,
.bh-overlay .bh-button-danger.disabled, .bh-overlay .bh-button-delete.disabled, .bh-overlay .bh-button-cancel.disabled {
    background-color: var(--bh-color-danger);
}

.bh-plugin-wrapper .bh-button-danger svg {
    margin-right: 5px;
}

.bh-badge {
    padding: 0.25rem;
}

.bh-badge-success {
    background-color: var(--bh-color-success);
    color: var(--bh-color-white);
}

.bh-badge-info {
    background-color: var(--bh-color-info);
    color: var(--bh-color-white);
}

.bh-badge-warning {
    background-color: var(--bh-color-warning);
    color: var(--bh-color-black);
}

.bh-badge-notice {
    background-color: var(--bh-color-notice);
    color: var(--bh-color-white);
}

.bh-badge-danger, .bh-badge-error {
    background-color: var(--bh-color-danger);
    color: var(--bh-color-white);
}

.bh-alert-success {
    background-color: #e8f5e9;
    border-left: 4px solid var(--bh-color-success);
}

.bh-alert-info {
    background-color: #e3f2fd;
    border-left: 4px solid var(--bh-color-info);
}

.bh-alert-warning {
    background-color: #fff8e1;
    border-left: 4px solid var(--bh-color-warning);
}

.bh-alert-notice {
    background-color: #f3e5f5;
    border-left: 4px solid var(--bh-color-notice);
}

.bh-alert-danger {
    background-color: #ffebee;
    border-left: 4px solid var(--bh-color-danger);
}

.bh-alert {
    padding: 10px 15px;
    border-radius: var(--bh-border-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.bh-alert-admin {
    padding: 12px 24px;
    border-radius: var(--bh-border-radius);
    display: flex;
    align-items: center;
    background-color: var(--bh-color-danger);
    color: var(--bh-color-white);
    font-weight: 600;
}

.bh-alert-admin svg {
    margin-right: 5px;
}

.bh-notice {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    margin: 5px 0 15px 0;
    padding: 1px 12px;
}

.bh-notice p {
    margin: 0.5em 0;
    padding: 2px;
    font-size: 14px;
}

.bh-notice-error {
    border-left-color: var(--bh-color-danger-dark);
    color: var(--bh-color-danger);
}

.bh-notice-success {
    border-left-color: var(--bh-color-success-dark);
    color: var(--bh-color-success);
}

.bh-notice-warning {
    border-left-color: var(--bh-color-warning-dark);
    color: var(--bh-color-warning);
}

.bh-notice-info {
    border-left-color: var(--bh-color-info-dark);
    color: var(--bh-color-info);
}

.yaspa-frontend-wrapper .bh-form-frontend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yaspa-frontend-wrapper .bh-form-frontend h5 {
    font-size: 0.6rem;
}

/* Styling für den Container des Vorschaubildes */
.bh-media-preview {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

/* Styling für das eigentliche, responsive Vorschaubild */
.bh-media-preview .bh-preview-image {
    max-width: 100px;
    height: auto;
    display: block;
    border: 1px solid #d5d8dc;
    border-radius: 3px;
}

.bh-button {
    display: inline-flex;
    align-items: center;
}

.bh-button svg {
   margin-right: 0.5em;
}

.bh-button span {
    margin-left: 8px;
}

/* ==================================== */
/* Horizontaler Separator               */
/* ==================================== */

.bh-separator {
    border: none;
    margin: 12px 0;
    height: 24px;
    background-color: transparent;
    width: 100%;
    background-image: linear-gradient(#ddd, #ddd);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: center;
}

.bh-asterisk {
    color: var(--bh-color-danger);
}

.bh-asterisk-hide {
    display: none;
}

.fieldset-full-width {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem;
}

fieldset legend {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bh-color-dark);
    padding: 0 0.5rem;
}

fieldset div.form-row {
    margin: 0 1rem;
}

.backend-form-wrapper, .backend-form-wrapper-custom {
    min-height: 75px;
}

.form-wrapper-custom .description, .backend-form-wrapper-custom .description {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
    padding-left: 10px;
}

.form-wrapper-custom .asterisk, .backend-form-wrapper-custom .asterisk {
    color: var(--bh-color-danger);
    font-size: 0.8rem;
    padding-left: 0.2rem;
    line-height: inherit;
    vertical-align: top;
    font-weight: 600;
}

.hide {
    display: none;
}

.show {
    display: block;
}

/* ============ Mobile Ansichten ============= */
@media (max-width: 768px) {
    .bh-plugin-logo {
        padding-right: 0;
        border-right: none;
        width: 100%;
    }

    .bh-plugin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }

    .bh-plugin-title {
        text-align: left;
        width: 100%;
        font-size: 18px;
        padding-left: 0;
    }

    .bh-plugin-version {
        font-size: 13px;
        color: var(--bh-color-footer);
    }

    .bh-plugin-cards {
        grid-template-columns: 1fr;
    }

    .bh-plugin-card {
        border-right: none;
        padding-right: 0;
    }

    .bh-overlay-content {
        max-width: 95%;
        max-height: 90%;
        width: 95%;
        margin: 0 auto;
    }

    .bh-overlay-header {
        padding: 16px 20px;
    }

    .bh-overlay-title {
        font-size: 16px;
    }

    .bh-overlay-view {
        padding: 16px 20px;
    }

    .bh-overlay-close {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }

    .bh-nav {
        padding: 0;
        background-color: var(--bh-navigation-background);
        justify-items: flex-end;
    }

    .bh-plugin-wrapper .bh-nav-burger {
        display: block;
    }

    .bh-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .bh-nav-menu.active {
        display: flex;
    }

    .bh-nav-start, .bh-nav-end {
        width: 100%;
        text-align: center;
    }

    .bh-nav-item {
        display: block;
        width: 100%; /* Stellt sicher, dass das Item die volle Breite einnimmt */
        margin-right: 0; /* Entfernt den seitlichen Abstand in der mobilen Ansicht */
    }

    /* Der Link bekommt den Innenabstand auch mobil */
    .bh-nav-item a {
        padding: 1rem;
    }

    .bh-col-1,
    .bh-col-2,
    .bh-col-3,
    .bh-col-4,
    .bh-col-5,
    .bh-col-6,
    .bh-col-7,
    .bh-col-8,
    .bh-col-9,
    .bh-col-10,
    .bh-col-11,
    .bh-col-12 {
        grid-column: span 12 / auto;
    }

    .fieldset-full-width {
        width: auto;
        box-sizing: border-box;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 1rem;
    }

}


.bh-plugin-card-button {
    /* ----- Grundlegendes Aussehen ----- */
    display: inline-block; /* Erlaubt die Anwendung von padding und margin */
    padding: 5px 10px; /* Innenabstand (oben/unten | links/rechts) */
    background-color: var(--bh-color-warning); /* Standard WordPress Blau */
    color: #000000; /* Textfarbe */
    border: none; /* Kein Rand */
    border-radius: 4px; /* Abgerundete Ecken */

    /* ----- Text-Styling ----- */
    text-decoration: none; /* Entfernt den Link-Unterstrich */
    font-weight: 600; /* Etwas fettere Schrift */
    text-align: center; /* Zentriert den Text (wichtig bei fester Breite) */

    /* ----- Interaktion ----- */
    cursor: pointer; /* Zeigt eine Hand beim Darüberfahren */
    transition: background-color 0.2s ease-in-out; /* Weicher Übergang für den Hover-Effekt */
}

/* Stil, wenn der Mauszeiger über dem Button ist */
.bh-plugin-card-button:hover {
    background-color: var(--bh-color-warning-dark); /* Ein etwas dunkleres Blau */
    color: #FFFFFF; /* Stellt sicher, dass der Text weiß bleibt */
}

/* Stil für Barrierefreiheit (wenn der Button per Tastatur ausgewählt wird) */
.bh-plugin-card-button:focus {
    outline: var(--bh-color-warning-dark);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px #fff; /* Ein innerer Ring, um den Fokus auf dunklen Hintergründen sichtbar zu machen */
}
@media (max-width: 480px) {
    .bh-overlay-content {
        max-width: 98%;
        max-height: 95%;
        width: 98%;
    }

    .bh-overlay-header {
        padding: 12px 16px;
    }

    .bh-overlay-title {
        font-size: 15px;
    }

    .bh-overlay-view {
        padding: 12px 16px;
    }
}