/*
        Theme Name: Hello Elementor Child
        Theme URI: http://deine-website.com/hello-elementor-child/
		Description: Ein Child-Theme von Hello Elementor für Plugin
		Anpassungen
        Author: makeITsocial
        Author URI: https://makeitsocial.net
        Template: hello-elementor
        Version: 1.0.0
        Text Domain: hello-elementor-child
        */

.u-brush-underline {
    position: relative;
    display: inline-block;
}
.u-brush-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: -0.4em;        /* Strich läuft rechts über den Text hinaus */
    bottom: -0.22em;      /* Abstand zur Grundlinie */
    height: 0.30em;       /* Gesamtdicke (skaliert mit der Schriftgröße) */
    background: var(--orange, #f5903e);
    /* links dick → rechts spitz, leicht nach rechts abfallend */
    clip-path: polygon(0 0, 100% 58%, 100% 92%, 0 100%);
    pointer-events: none;
}

/* Logo-Leiste: alle Logos vertikal mittig */
.c-logo-strip .gallery {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;      /* ← das behebt „an der Decke hängen" */
    gap: 2rem;
}
.c-logo-strip .gallery-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;

}
.c-logo-strip .gallery-icon {
    line-height: 0;           /* entfernt die Zeilenhöhen-Lücke unter dem Bild */
}
.c-logo-strip .gallery-item img {
    width: auto;
    max-width: 100%;
    height: auto;
}

/* c-badge — aus Elementor Global Classes entfernt, hier zentral verwaltet */
.elementor .c-badge {
    display: inline-flex;
    justify-content: center;
    width: auto;
    background-color: var(--blk-gray-light);
    color: var(--blk-gray-dark);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding-block-start: var(--space-xs);
    padding-block-end: var(--space-xs);
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    border-radius: 0;
    border-style: solid;
    border-block-start-width: 0;
    border-block-end-width: 0;
    border-inline-start-width: 6px;
    border-inline-end-width: 0;
}

.elementor .c-badge-colored {
    border-color: var(--term-color, currentColor);
    background-color: var(--gray-light)!important ;
}

.c-btn:focus {
    outline: 2px solid var(--blk-light-blue);
    outline-offset: 2px;
}

.bp-vendor-description p { margin-bottom: 1em; }
.bp-vendor-description p:last-child { margin-bottom: 0; }

/* =====================================================
 *  TERM-INFO — Button (ⓘ) + Popup
 *  Global eingehängt (vorher filter-everything-custom.css).
 *  Genutzt von: Filter Everything (Checkbox-Liste) + [bp_term_list]
 *  ===================================================== */

/* Button: flexibel im Label-Flex-Flow, am rechten Rand */
button.c-term-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray, #9c9c9c);
    border-radius: 50%;
    line-height: 1;
    transition: color 0.15s ease;
}
button.c-term-info-btn:hover,
button.c-term-info-btn[aria-expanded="true"] {
    color: var(--blue-light, #009ee3);
}
button.c-term-info-btn:focus-visible {
    outline: 2px solid var(--blue-light, #009ee3);
    outline-offset: 2px;
}

/* Schließen-Button im Popup — gleiche Ursache, gleiche Lösung */
button.c-term-info-close {
    float: right;
    margin: -2px -4px 6px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gray, #9c9c9c);
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}
button.c-term-info-close:hover {
    color: var(--black, #222);
    background-color: var(--gray-lighter, #f5f5f5);
}
button.c-term-info-close:focus-visible {
    outline: 2px solid var(--blue-light, #009ee3);
    outline-offset: 1px;
}

/* [bp_term_list]: Term-Label + ⓘ nebeneinander; Kind-Liste bleibt darunter.
 *  margin-left:auto zurücksetzen, damit das Icon direkt neben dem Text sitzt. */
.bp-term-list {
    margin: 0;
    padding-left: 1rem;   /* kleiner = näher am Rand, 0 = bündig */
}

.bp-term-list__row {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.bp-term-list__row .c-term-info-btn {
    margin-left: 0;
}

/* Popup — erscheint unter dem Term-Item, position:fixed (per JS an <body> gehängt) */
.c-term-info-popup {
    position: fixed;
    z-index: 99999;
    min-width: 200px;
    max-width: 280px;
    padding: 0.75rem;
    background: var(--white, #fff);
    border: 1px solid var(--gray-light, #d4d4d4);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    font-size: var(--font-size-sm, 0.875rem);
    line-height: 1.5;
    color: var(--black, #222);
}
.c-term-info-popup > * {
    margin: 0 0 0.375rem;
}
.c-term-info-popup > *:last-child {
    margin-bottom: 0;
}

/* =====================================================
 *  [bp_term_list] — Layout-Varianten
 *  ===================================================== */

/* Mehrspaltige Liste: columns="2" */
.bp-term-list--columns {
    column-count: var(--bp-term-list-cols, 2);
    column-gap: 2rem;
}
/* Eltern-Block (inkl. Kinder + ⓘ) nie zwischen den Spalten zerreißen */
.bp-term-list--columns > li {
    break-inside: avoid;
}
@media (max-width: 600px) {
    .bp-term-list--columns { column-count: 1; }
}

@media print {
    .bp-print-full {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
}


/* Pills: layout="pills" */
.bp-term-list--pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bp-term-list__pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    text-align: center;
    background: var(--orange-lighter, #fbe3d8);
    color: var(--black, #222);
    border-radius: 8px;
    line-height: 1.3;
}
@media (max-width: 600px) {
    .bp-term-list--pills { grid-template-columns: 1fr; }
}
