﻿.mhg-faq-section {
    padding: 32px 24px 40px;
    background: #f3f3f3;
}

    .mhg-faq-section .container-fluid {
        max-width: 1280px;
        margin: 0 auto;
    }

.mhg-faq-header {
    margin-bottom: 34px;
}

.mhg-faq-title {
    margin: 0 0 10px;
    color: #0c1738;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.mhg-faq-subtitle {
    margin: 0;
    color: #0c1738;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.35;
    font-weight: 700;
}

.mhg-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mhg-faq-item {
    border: 2px solid #d9d9de;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .mhg-faq-item:hover {
        border-color: #d85c33;
    }

    .mhg-faq-item.is-open {
        border-color: #d85c33;
        background: #ffffff;
    }

.mhg-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

    .mhg-faq-question:focus {
        outline: 3px solid rgba(231, 76, 42, 0.22);
        outline-offset: 2px;
    }

.mhg-faq-question-text {
    color: #111827;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.3;
    font-weight: 700;
    padding-right: 1rem;
}

.mhg-faq-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

    .mhg-faq-icon::before,
    .mhg-faq-icon::after {
        content: "";
        position: absolute;
        top: 11px;
        width: 8px;
        height: 2px;
        background: #d85c33;
        border-radius: 999px;
    }

    .mhg-faq-icon::before {
        left: 5px;
        transform: rotate(45deg);
        transform-origin: right center;
    }

    .mhg-faq-icon::after {
        right: 5px;
        transform: rotate(-45deg);
        transform-origin: left center;
    }

.mhg-faq-item.is-open .mhg-faq-icon {
    transform: rotate(180deg);
}

.mhg-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mhg-faq-answer-inner {
    padding: 0 24px 24px 24px;
}

.mhg-faq-answer {
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    white-space: normal;
}

    .mhg-faq-answer p:last-child {
        margin-bottom: 0;
    }

.mhg-faq-empty {
    border: 2px solid #d9d9de;
    background: #fff;
    padding: 24px;
    color: #0c1738;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 767.98px) {
    .mhg-faq-section {
        padding: 28px 16px 32px;
    }

    .mhg-faq-question {
        padding: 18px;
    }

    .mhg-faq-answer-inner {
        padding: 0 18px 18px 18px;
    }
}
