

.e8qa-question {
    cursor: pointer;
    font-weight: bold;
}

.e8qa-answer {
    display: none;
}

#e8qa-filter {
    margin-bottom: 2rem
}

#e8qa-filter button,
.e8qa-toggle-answer,
.e8qa-form-submit{
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    border-spacing: 0;
    /* color: #26589F; */
    /* font-family: 'PT Sans Narrow',sans-serif; */
    font-size: 16px;
    font-weight: normal;
    line-height: 1.42rem;
    list-style: none outside none;
    margin: 0;
    /* padding: 0; */
    text-align: left;
    text-decoration: none;
    text-indent: 0;

    background-color: var(--clr-lightpink);
    background-color: color-mix(in srgb, var(--link-clr) 20%, white);
    color: #000000;
    margin-right: .25px;
    cursor: pointer;
    padding: 5px 12px ;
}
.e8qa-toggle-answer,
.e8qa-form-submit{
    background-color: var(--link-clr);
    color: #fff;
}
#e8qa-filter button.active {
    background-color: var(--link-clr); /* Beispiel für eine blaue Hintergrundfarbe */
    color: #fff; /* Weiße Schriftfarbe */
} 

#e8qa-qa-list {
    margin: 0 auto;
    width: 100%;
    clear: both;
}



/* For larger screens, set two columns */
.grid-sizer{ 
    width: calc(50% - 1rem); 
} 
.e8qa-item {
    width: calc(50% - 1rem); /* Breite der Masonry-Elemente, angepasst auf zwei Spalten */
    margin-bottom: 1rem; /* Abstand zwischen den Elementen */
    background-color: var(--accordion-bg-clr);
    border: 1px solid var(--accordion-bg-clr); 
    padding: 1rem; /* Innenabstand der Elemente */
    box-sizing: border-box; /* Box-Sizing */
    border-radius: 5px; /* Abgerundete Ecken */
}

/* For smaller screens, set one column */
@media (max-width: 480px) {
    .e8qa-item {
        width: calc(100% - 1rem); /* Adjust to have one column with gutter */
    }
}

.e8qa-question {
    font-weight: bold;
    cursor: pointer;
}

.e8qa-meta {
    margin-top: 10px;
}
.e8qa-username {
    display: block;
    margin-bottom: 5px;
}

.e8qa-themes {
    margin-bottom: 10px;
}

.e8qa-answer {
    display: none;
    margin: 1rem 0 0 0;
    line-height: 1.4;
}

#e8qa-qa-list .e8qa-expert {
    margin-top: 10px;
    font-style: italic;
}


.e8qa-experts-list {
    margin: 2rem 0;
}

.e8qa-experts-list .e8qa-expert {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 980px) {
    .e8qa-experts-list .e8qa-expert {
        flex-wrap: wrap;
    }
}

.e8qa-experts-list--text-bottom .e8qa-expert {
    flex-direction: column;
}

.e8qa-experts-list .e8qa-expert__image {
    min-width: 230px;
    height: 500px;
    overflow: hidden;
}

@media (max-width: 480px) {
    .e8qa-experts-list .e8qa-expert__image {
        height: 300px;
    }
}

.e8qa-experts-list .e8qa-expert__image img {
    -webkit-animation: fadeTop 1s cubic-bezier(.77,0,.175,1) 1;
    animation: fadeTop 1s cubic-bezier(.77,0,.175,1) 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.e8qa-experts-list--slider {
    --e8qa-experts-item-width: var(--e8qa-experts-desktop-width);
    --e8qa-experts-gap: 2rem;
    position: relative;
}

.e8qa-experts-list__navigation {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.e8qa-experts-slider-track {
    display: flex;
    gap: var(--e8qa-experts-gap);
    min-width: 0;
    overflow-x: auto;
    padding: .25rem 0 1.25rem;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.e8qa-experts-slider-track::-webkit-scrollbar {
    display: none;
}

.e8qa-experts-list--slider .e8qa-expert {
    background: #fff;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 1.25rem;
    flex: 0 0 var(--e8qa-experts-item-width);
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 0;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert {
    align-items: stretch;
    box-shadow: 0 .25rem 1rem color-mix(in srgb, currentColor 12%, transparent);
    flex-direction: row;
}

.e8qa-experts-list--slider .e8qa-expert__image {
    border-radius: 0;
    flex: 0 0 auto;
    height: clamp(18rem, 32vw, 31rem);
    min-width: 0;
    width: 100%;
}

.e8qa-experts-list--slider .e8qa-expert__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem;
}

.e8qa-experts-list--slider .e8qa-expert__name {
    margin: 0 0 .75rem;
}

.e8qa-experts-list--slider .e8qa-expert__description {
    flex: 1 1 auto;
    line-height: 1.5;
}

.e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert__image {
    flex: 0 0 44%;
    height: auto;
    min-width: 0;
}

.e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert__content {
    align-self: center;
    flex: 1 1 56%;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 3.5rem);
}

.e8qa-expert__profile-link {
    -webkit-appearance: none;
    appearance: none;
    align-items: center;
    align-self: flex-start;
    background: none;
    border: 0;
    color: var(--link-clr);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 600;
    gap: .65rem;
    margin-top: 1.5rem;
    padding: 0;
}

.e8qa-experts-list--text-right .e8qa-expert__profile-link {
    border: 2px solid currentColor;
    border-radius: .25rem;
    padding: .75rem 1.25rem;
}

.e8qa-expert__profile-link:hover,
.e8qa-expert__profile-link:focus-visible {
    gap: .9rem;
}

.e8qa-expert__profile-link:focus-visible,
.e8qa-experts-slider-button:focus-visible,
.e8qa-expert-modal__close:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--link-clr) 55%, transparent);
    outline-offset: 3px;
}

.e8qa-expert__profile-link-icon {
    font-size: 1.25em;
    line-height: 1;
    transition: transform .2s ease;
}

.e8qa-expert__profile-link:hover .e8qa-expert__profile-link-icon,
.e8qa-expert__profile-link:focus-visible .e8qa-expert__profile-link-icon {
    transform: translateX(.2rem);
}

.e8qa-experts-slider-button {
    align-items: center;
    background-color: #fff;
    border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.5rem;
    height: 3.25rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: border-color .2s ease, color .2s ease, opacity .2s ease;
    width: 3.25rem;
}

.e8qa-experts-slider-button:hover:not(:disabled),
.e8qa-experts-slider-button:focus-visible {
    border-color: var(--link-clr);
    color: var(--link-clr);
}

.e8qa-experts-slider-button:disabled {
    cursor: default;
    opacity: .35;
}

.e8qa-experts-slider-button__icon {
    font-size: 1rem;
}

.e8qa-experts-list__status {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 1rem;
}

.e8qa-experts-list__tracker {
    background: color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 999px;
    height: .3rem;
    overflow: hidden;
    position: relative;
}

.e8qa-experts-list__tracker-value {
    background: var(--link-clr);
    border-radius: inherit;
    display: block;
    height: 100%;
    left: var(--e8qa-tracker-left, 0%);
    position: absolute;
    transition: left .2s ease, width .2s ease;
    width: var(--e8qa-tracker-width, 0%);
}

.e8qa-experts-list__counter {
    color: color-mix(in srgb, currentColor 70%, transparent);
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.e8qa-expert-modal {
    background: transparent;
    border: 0;
    color: inherit;
    max-height: min(88vh, 58rem);
    max-width: min(92vw, 68rem);
    overflow: visible;
    padding: 0;
    width: 100%;
}

.e8qa-expert-modal::backdrop {
    background: rgb(0 0 0 / 65%);
}

.e8qa-expert-modal__panel {
    background: #fff;
    border-radius: 1.25rem;
    display: grid;
    grid-template-columns: minmax(17rem, 40%) minmax(0, 1fr);
    max-height: min(88vh, 58rem);
    overflow: auto;
    position: relative;
}

.e8qa-expert-modal__close {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2.75rem;
    z-index: 1;
}

.e8qa-expert-modal__close-icon {
    font-size: 1.75rem;
    line-height: 1;
    transform: translateY(-.08em);
}

.e8qa-expert-modal__image {
    min-height: min(72vh, 42rem);
    overflow: hidden;
}

.e8qa-expert-modal__image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.e8qa-expert-modal__content {
    align-self: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.e8qa-expert-modal__name {
    margin: 0 3rem 1.5rem 0;
}

.e8qa-expert-modal__description > :last-child {
    margin-bottom: 0;
}

.e8qa-modal-is-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .e8qa-experts-list--slider {
        --e8qa-experts-item-width: var(--e8qa-experts-tablet-width);
        --e8qa-experts-gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .e8qa-experts-list--slider {
        --e8qa-experts-item-width: var(--e8qa-experts-mobile-width);
        --e8qa-experts-gap: 1rem;
    }

    .e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert {
        flex-direction: column;
    }

    .e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert__image {
        flex-basis: auto;
        height: clamp(18rem, 80vw, 28rem);
        width: 100%;
    }

    .e8qa-experts-list--slider.e8qa-experts-list--text-right .e8qa-expert__content {
        padding: 1.5rem;
    }

    .e8qa-experts-list__navigation {
        margin-bottom: 1rem;
    }

    .e8qa-experts-slider-button {
        height: 2.75rem;
        width: 2.75rem;
    }

    .e8qa-experts-list__status {
        gap: 1rem;
    }

    .e8qa-expert-modal {
        max-height: 92vh;
        max-width: calc(100vw - 2rem);
    }

    .e8qa-expert-modal__panel {
        display: block;
        max-height: 92vh;
    }

    .e8qa-expert-modal__image {
        height: min(60vh, 30rem);
        min-height: 0;
    }

    .e8qa-expert-modal__content {
        padding: 1.5rem;
    }

    .e8qa-expert-modal__name {
        margin-right: 0;
    }
}

#e8qa-question-form {
    padding: 1rem 0 
}

.e8qa-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#e8qa-question-form  .help,
#e8qa-question-form .hint{
    font-size: 14px;
    line-height: 1.25;

     position: relative;
    top: -10px;
}
#e8qa-question-form .hint{
   
}

#e8qa-question-form textarea.form-element,
#e8qa_email {
    width: 100%;
    font-size: 18px;
    padding: .25rem .5rem;
    background-color: #fff;
}

#e8qa_topic{
    scrollbar-width: thin;
    text-transform: none;
    padding: 0 5px;
    border-color: transparent;
    background: #fff;
    color: black !important;
    font-size: 16px;
    width: 300px;
    height: auto;
    min-height: 100px;
}
#e8qa_topic option{
    padding: 5px 5px 5px 1px; 
}
#e8qa_topic optgroup{
    padding-top: 5px;
}
#e8qa_topic optgroup option{
    padding: 2px 0 2px 10px; 
}
#e8qa_topic optgroup option::before{
    content: "-";
    padding-right: 5px;
}
#e8qa_topic  option:hover {
    background-color: #f0f0f0;
}
.e8qa-form-submit{
    font-size: 18px;
}
