/* ================================================================
 * Fans of Pets — public FAQ shortcodes
 * ================================================================ */
.fop-faq-search {
    position: relative;
    margin: 0 0 34px;
}

.fop-faq-search__icon {
    position: absolute;
    top: 25px;
    left: 22px;
    display: inline-flex;
    color: #777;
    pointer-events: none;
    transform: translateY(-50%);
}

.fop-faq-search__input {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 54px 12px 54px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    outline: none;
    box-sizing: border-box;
}

.fop-faq-search__input:focus {
    border-color: #777;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.fop-faq-search__clear {
    position: absolute;
    top: 25px;
    right: 13px;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font: inherit;
    font-size: 26px;
    font-weight: 300;
    line-height: 30px;
    cursor: pointer;
    transform: translateY(-50%);
}

.fop-faq-search__clear:hover {
    background: #f1f1f1;
    color: #222;
}

.fop-faq-search__status {
    min-height: 20px;
    margin: 8px 4px 0;
    padding: 0;
    color: #777;
    font-size: 13px;
}

.fop-faq-block {
    margin: 0 0 48px;
}

.fop-faq-block[hidden],
.fop-faq-item[hidden] {
    display: none !important;
}

.fop-faq-block__title {
    margin: 0 0 16px;
    padding: 0;
}

.fop-faq-list {
    border-top: 1px solid var(--fop-line, #e4e4e4);
}

.fop-faq-item {
    margin: 0;
    border-bottom: 1px solid var(--fop-line, #e4e4e4);
}

.fop-faq-item summary {
    position: relative;
    padding: 20px 42px 20px 0;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.fop-faq-item summary::-webkit-details-marker {
    display: none;
}

.fop-faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 4px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

.fop-faq-item[open] summary::after {
    content: '−';
}

.fop-faq-item__answer {
    padding: 0 42px 20px 0;
    line-height: 1.7;
}

.fop-faq-item__answer > :last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .fop-faq-search {
        margin-bottom: 26px;
    }

    .fop-faq-search__input {
        font-size: 16px;
    }

    .fop-faq-block {
        margin-bottom: 36px;
    }

    .fop-faq-item summary {
        padding: 17px 36px 17px 0;
        font-size: 16px;
    }

    .fop-faq-item__answer {
        padding: 0 34px 17px 0;
    }
}
