.mcfaq,
.mcfaq * {
    box-sizing: border-box;
}

.mcfaq {
    width: 100%;
    padding: 0;
    margin: 0;
}

.mcfaq__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.mcfaq__title {
    margin: 0;
    padding: 0;
    color: #0B4A93;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mcfaq__list {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
}

.mcfaq__item {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E1E8F0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(12, 55, 98, 0.035);
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.mcfaq__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0B4A93;
    opacity: 0;
    transform: scaleY(.35);
    transform-origin: center;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 2;
}

.mcfaq__item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(12, 55, 98, 0.07);
}

.mcfaq__item.is-open {
    box-shadow: 0 10px 28px rgba(12, 55, 98, 0.08);
}

.mcfaq__item.is-open::before {
    opacity: 1;
    transform: scaleY(1);
}

.mcfaq__question {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    display: flex;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-overflow: clip;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 !important;
    padding: 16px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.mcfaq__question:focus,
.mcfaq__question:hover,
.mcfaq__question:active {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
}

.mcfaq__question:focus-visible {
    outline: 2px solid #0B4A93 !important;
    outline-offset: -4px;
}

.mcfaq__question-text {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
    text-overflow: clip !important;
    color: #17344F;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    text-align: inherit;
    transition: color .22s ease;
}

.mcfaq__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(11, 74, 147, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0B4A93;
    background: #EEF4FA;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.mcfaq__item:hover .mcfaq__icon {
    transform: scale(1.04);
}

.mcfaq__icon > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mcfaq__icon svg {
    display: block;
    fill: currentColor;
}

.mcfaq__icon-open {
    display: none !important;
}

.mcfaq__item.is-open .mcfaq__icon-closed {
    display: none !important;
}

.mcfaq__item.is-open .mcfaq__icon-open {
    display: inline-flex !important;
}

.mcfaq__answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .28s ease, opacity .22s ease, visibility 0s linear .28s;
}

.mcfaq__item.is-open .mcfaq__answer {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows .28s ease, opacity .22s ease;
}

.mcfaq__answer-inner {
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: #617386;
    font-size: 15px;
    line-height: 1.65;
    padding: 0 20px 18px;
}

.mcfaq__answer-inner::before {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    margin: 0 0 14px;
    background: rgba(11, 74, 147, .14);
}

.mcfaq__answer-inner > :first-child {
    margin-top: 0;
}

.mcfaq__answer-inner > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .mcfaq__list {
        gap: 8px;
        margin-top: 20px;
    }

    .mcfaq__question {
        padding: 15px 16px !important;
        gap: 14px;
    }

    .mcfaq__question-text {
        font-size: 16px;
    }

    .mcfaq__answer-inner {
        padding: 0 16px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mcfaq__item,
    .mcfaq__question-text,
    .mcfaq__icon,
    .mcfaq__answer,
    .mcfaq__item::before {
        transition: none !important;
    }
}
