﻿/* --- FAQ Accordion --- */
.ag-faq {
    margin: 1.5rem 0 3rem;
}

.ag-faq-item {
    border-bottom: 1px solid #000;
}

.ag-typo .ag-faq-question {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "TWCharacterSansRegular";
    font-weight: normal;
    font-size: 28px;
    line-height: 32px;
}

.ag-faq .ag-faq-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 18px 50px 18px 0;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    color: #000;
    font: inherit;
}

.ag-faq .ag-faq-trigger:hover,
.ag-faq .ag-faq-trigger:focus-visible {
    color: #e2001a;
}

.ag-faq-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
}

.ag-faq-icon::before,
.ag-faq-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform 0.25s ease;
}

.ag-faq-icon::before {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.ag-faq-icon::after {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.ag-faq-trigger[aria-expanded="true"] .ag-faq-icon::before {
    transform: scaleY(0);
}

.ag-faq-panel {
    display: none;
}

.ag-faq-answer {
    padding: 0 50px 20px 0;
}

.ag-faq-answer > *:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 584px) {
    .ag-typo .ag-faq-question {
        font-size: 21px;
        line-height: 25px;
    }

    .ag-faq .ag-faq-trigger {
        padding: 14px 40px 14px 0;
    }
}

.ag-list {
    .ag-listheader {
        font-family: "TWCharacterSansRegular";
        font-size: 1.35rem;
    }

    .ag-list-content {
        padding: 0.25rem 0 1.5rem;
    }

    .ag-l-label {
        display: inline-block;
        width: 120px;
    }

    .ag-icon-row > span {
        display: inline-block;
        line-height: 30px;
        vertical-align: middle;
    }
}
