/**
 * Public event page — FAQ section (BEM: event-public-faq).
 * Overrides banner-feature--77 flex row so title + accordion stack cleanly.
 */

.event-public-faq {
    width: 100%;
}

.event-public-faq__card {
    width: 100%;
    border-radius: 12px;
}

/* Undo theme .banner-feature--77 .card-body { display: flex } side-by-side layout */
.event-public-faq__card.banner-feature--77 .event-public-faq__inner.card-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 2rem 2.25rem 2.25rem;
    box-sizing: border-box;
}

.event-public-faq__header {
    width: 100%;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8eaed;
}

.event-public-faq__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #111;
    text-align: left;
}

.event-public-faq__list {
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.event-public-faq__item {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    background-color: #fafbfc;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.event-public-faq__item:hover {
    border-color: #d0d4da;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.event-public-faq__item[open] {
    border-color: #c5c9cf;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.event-public-faq__summary {
    cursor: pointer;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #1a1a1a;
    position: relative;
    text-align: left;
}

.event-public-faq__summary::-webkit-details-marker {
    display: none;
}

.event-public-faq__summary::after {
    content: "";
    position: absolute;
    right: 1.35rem;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--color-primary, #ff2a3c);
    border-bottom: 2px solid var(--color-primary, #ff2a3c);
    transform: translateY(-55%) rotate(45deg);
    transition: transform 0.22s ease;
    opacity: 0.9;
}

.event-public-faq__item[open] .event-public-faq__summary::after {
    transform: translateY(-20%) rotate(225deg);
}

.event-public-faq__body {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a4f56;
    border-top: 1px solid #eef0f3;
    background-color: #fff;
}

@media (max-width: 767px) {
    .event-public-faq__card.banner-feature--77 .event-public-faq__inner.card-body {
        padding: 1.35rem 1rem 1.5rem;
    }

    .event-public-faq__title {
        font-size: 1.25rem;
    }

    .event-public-faq__header {
        margin-bottom: 1.1rem;
        padding-bottom: 0.85rem;
    }

    .event-public-faq__summary {
        font-size: 0.98rem;
        padding: 0.95rem 2.75rem 0.95rem 1rem;
    }

    .event-public-faq__body {
        font-size: 0.92rem;
        padding: 0 1rem 1rem;
    }
}
