.wiki-search {
    --input-text-color: var(--color-text-dark);
    --input-placeholder-color: var(--color-text-dark);
    --input-bg-color: var(--color-bg-light);

    max-width: 500px;
    margin: 1.5rem auto 0;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto;
}

.wiki-search .wiki-search__input {
    height: 40px;
    line-height: 40px;
    padding: 0.5rem 0 0.5rem 1rem;
    border: none;
    border-bottom: 1px solid var(--color-bg-dark);
}

.wiki-search .wiki-search__submit {
    height: 100% !important;
    width: auto !important;
    padding: 0 0 0 0.25rem !important;
    display: grid !important;
    align-items: center;
    background-color: var(--color-bg-light) !important;
    color: var(--color-text-dark) !important;
    border: none !important;
    cursor: pointer;
}

.wiki-search .wiki-search__submit svg {
    height: 20px;
    width: auto;
}

.facetwp-facet-wiki_search {
    max-width: 500px;
    margin: 1.5rem auto 0;
}

.search-results-line {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 992px) {
    .search-results-line {
        margin-top: 3rem;
    }
}

.search-results-line > * {
    display: inline;
}

.bobdo-archive-pagination + .btns-wrapper {
    justify-content: center;
    margin-top: 3rem;
}

.bobdo-wrapper--archive-wiki .site-main .block-header:first-child,
.tax-wiki-category .wiki-section-title,
.bobdo-wrapper--archive-wiki .wiki-section-title {
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .bobdo-wrapper--archive-wiki .site-main .block-header:first-child,
    .tax-wiki-category .wiki-section-title,
    .bobdo-wrapper--archive-wiki .wiki-section-title {
        margin-top: 4.5rem;
    }
}

.bobdo-wrapper--archive-wiki .bobdo-archive-listing {
    margin-top: 2.5rem;
    flex-wrap: wrap;
    gap: 4.5rem 0;
}

@media (min-width: 992px) {
    .bobdo-wrapper--archive-wiki .bobdo-archive-listing {
        margin-top: 4.5rem;
    }   
}

.wiki-section-title + .bobdo-archive-listing,
.wiki-section-title + .bobdo-categories-nav,
.bobdo-wrapper--archive-wiki.no-results .bobdo-archive-listing {
    margin-top: 2.25rem;
}

.bobdo-entry.bobdo-entry--wiki .bobdo-entry__thumbnail,
.bobdo-entry.bobdo-entry--wiki .bobdo-entry__thumbnail img,
.single-wiki .bobdo-entry-single__header .bobdo-entry-single__thumbnail img {
    aspect-ratio: 3 / 2;
}

.bobdo-entry.bobdo-entry--wiki .bobdo-entry__thumbnail a:hover img {
    transform: unset;
}

.bobdo-entry.bobdo-entry--wiki .bobdo-entry__thumbnail .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    height: 80px;
    width: 80px;
}

.bobdo-wrapper--archive-wiki.no-results .btns-wrapper {
    margin-top: 0;
}

.bobdo-entry-single__header.faq {
    max-width: 770px;
}

@media (min-width: 992px) {
    .bobdo-entry-single__header.faq {
        margin-bottom: 2.5rem;
    }
}

.bobdo-entry-single__header .bobdo-entry-single__video {
    width: 100%;
    margin-bottom: 1.5rem;
}

@media (min-width: 840px) {
    .bobdo-entry-single__header .bobdo-entry-single__video {
        flex: 0 0 52%;
        max-width: 52%;
        margin-bottom: 0;
    }
}

.wiki-category-header {
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .wiki-category-header {
        margin-top: 4.5rem;
    }
}

.wiki-category-header__inner {
    display: flex;
    gap: 1.5rem 2.5rem;
    flex-direction: column;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .wiki-category-header__inner {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 1200px) {
    .wiki-category-header__inner {
        gap: 1.5rem 5rem;
    }
}

.wiki-category-header .wiki-category-header__media {
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    flex: 1;
}

.wiki-category-header .wiki-category-header__media .bobdo-video-container {
    aspect-ratio: 16 / 9;
}

.wiki-category-header .wiki-category-header__content {
    flex: 1;
}

.bobdo-entry-single__link-all {
    display: flex;
    justify-content: center;
    max-width: 770px;
    margin: 3rem auto 0;
}

.single-wiki .bobdo-wrapper {
    padding-bottom: 2.5rem !important;
}

@media (min-width: 768px) {
    .single-wiki .bobdo-wrapper {
        padding-bottom: 4rem !important;
    }   
}

/* FAQ list */
@media (min-width: 768px) {
    .wiki-faq__listing {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
    }
}

@media (min-width: 1200px) {
    .wiki-faq__listing {
        gap: 0 5rem;
    }
}

.wiki-faq__single {
    border-bottom: 1px solid #D0D0D0;
}

.wiki-faq__single a {
    display: block;
    padding: 0.75rem 1rem;
}

.wiki-faq__single .bobdo-entry__title {
    margin: 0 !important;
}

.wiki-faq__single a {
    --arrow-color: currentColor;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 30px;
    width: 100%;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.wiki-faq__single a::after {
    content: "";
    display: inline-block;
    background-color: var(--arrow-color);
    -webkit-mask-image: url(/wp-content/themes/bobdo-pro-theme/assets/img/icon-chevron-right.svg);
    mask-image: url(/wp-content/themes/bobdo-pro-theme/assets/img/icon-chevron-right.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-position: center;
    -webkit-mask-position: center;
    width: 9px;
    height: 18px;
    background-size: 100% 100%;
}

.wiki-faq__single .bobdo-entry__title {
    font-size: 1rem;
}

/* Youtube Videos override */
.bobdo-video-container--custom-youtube.bobdo-video-container .play-overlay {
    pointer-events: all;
}

.bobdo-video-container--custom-youtube.bobdo-video-container .play-overlay .play-button
{
    display: inline-block;
}