/*--------------------------------------------------------------
## ISPPME shared FAQ accordion (pages 67 and 182)
--------------------------------------------------------------*/

/* Preserve the homepage background from the old inline FAQ CSS. */
body.page-id-182 {
    background-color: whitesmoke;
}

.isppme-faq {
    margin-left: 8px;
}

.isppme-faq .accordion {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    margin: 2px auto;
    padding: 9px 21px 7px;
    border: 0;
    border-radius: 2px;
    background: #ffab1f;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.isppme-faq .accordion:hover,
.isppme-faq .accordion:focus {
    background: #294a70;
    color: #fff;
}

.isppme-faq .accordion:focus-visible {
    outline: 3px solid #294a70;
    outline-offset: 2px;
}

/* Expand / collapse indicator. */
.isppme-faq .accordion::after {
    content: "\2228";
    float: right;
    margin-left: 5px;
    color: #777;
    font-weight: 700;
}

.isppme-faq .accordion.active::after {
    content: "\2212";
}

.isppme-faq .infor {
    display: none;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.isppme-faq .infor.is-open {
    display: block;
}

.isppme-faq .infor p {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 2px 0 15px;
    padding: 0 18px;
    font-size: 16px;
}

/* Tables inside answers must not widen the page. */
@media (max-width: 991px) {
    .isppme-faq table {
        width: 100% !important;
    }

    .isppme-faq th,
    .isppme-faq td {
        padding: 4px;
        word-break: break-word;
    }
}

@media (max-width: 767px) {
    .isppme-faq {
        margin-left: 0;
    }

    .isppme-faq .accordion {
        padding: 10px 14px;
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
    }

    .isppme-faq .infor p {
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .isppme-faq .accordion {
        padding: 10px 12px;
        font-size: 13px;
    }

    .isppme-faq .infor p {
        font-size: 14px;
    }
}