/* Override Gutenberg's constrained children: auto margins shrink grid items. */
main :is(.ee-home-faq__list, .ee-guide-faq__list) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    align-self: start;
    justify-self: stretch;
    border: 1px solid #d4dee3;
    border-radius: 6px;
    background: #fff;
    text-align: left;
}

main .ee-photo-section--faq details + details {
    margin-top: 12px !important;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > summary {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 88px;
    margin: 0;
    padding: 20px 56px 20px 22px;
    color: #123b5d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    list-style: none;
    cursor: pointer;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) summary::-webkit-details-marker {
    display: none;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) summary::marker {
    content: "";
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 24px;
    transform: translateY(-50%);
    color: #247e80;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details[open] > summary::after {
    content: "\2212";
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) summary:focus-visible {
    outline: 2px solid #247e80;
    outline-offset: 3px;
    border-radius: 6px;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > :not(summary) {
    box-sizing: border-box;
    width: auto;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 22px 20px;
    color: #526875;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > :is(ul, ol) {
    padding-left: 44px;
}

@media (max-width: 767px) {
    main :is(.ee-home-faq__list, .ee-guide-faq__list) {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > summary {
        min-height: 72px;
        padding: 16px 46px 16px 16px;
        font-size: 16px;
    }

    main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) summary::after {
        right: 12px;
    }

    main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > :not(summary) {
        padding: 0 16px 16px;
    }

    main :is(.ee-home-faq, .ee-guide-faq, .ee-photo-section--faq) details > :is(ul, ol) {
        padding-left: 38px;
    }
}
