.image-and-faq {
    padding: 0;
    border-top: 6px solid var(--color-primary);
    background: #f4f4f4;
    overflow: hidden;
}

.image-and-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(520px, 48vw, 720px);
}

.image-and-faq--no-image .image-and-faq__layout {
    grid-template-columns: 1fr;
}

.image-and-faq--image-right .image-and-faq__media {
    order: 2;
}

.image-and-faq--image-right .image-and-faq__content {
    order: 1;
}

.image-and-faq__media {
    position: relative;
    min-height: clamp(420px, 40vw, 720px);
    overflow: hidden;
}

.image-and-faq__image-wrap {
    position: absolute;
    inset: 0;
}

.image-and-faq--parallax .image-and-faq__image-wrap {
    inset: -12% 0;
    will-change: transform;
}

.image-and-faq__image-wrap picture {
    display: block;
    height: 100%;
}

.image-and-faq__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-and-faq__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 6vw, 5rem);
    background: #f4f4f4;
}

.image-and-faq__title {
    margin: 0;
}

.image-and-faq__separator {
    display: block;
    width: min(100%, 440px);
    height: 2px;
    margin: 1rem 0 clamp(1.5rem, 3vw, 2.25rem);
    background: #CCCCCC;
}

.image-and-faq__list {
    display: grid;
    gap: 0.35rem;
}

.image-and-faq__question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 0;
    border: 0;
    background: transparent;
    color: #323a3b;
    font-family: var(--font-family-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.image-and-faq__question:hover,
.image-and-faq__question:focus-visible {
    color: var(--color-primary);
}

.image-and-faq__icon {
    position: relative;
    flex: 0 0 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.35rem;
}

.image-and-faq__icon::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.1rem;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.image-and-faq__item.is-open .image-and-faq__icon::before {
    top: 0.35rem;
    transform: rotate(225deg);
}

.image-and-faq__question-text {
    flex: 1 1 auto;
}

.image-and-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.image-and-faq__item.is-open .image-and-faq__answer {
    grid-template-rows: 1fr;
}

.image-and-faq__answer-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 0 0.85rem 1.6rem;
    color: var(--color-text);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.image-and-faq__item.is-open .image-and-faq__answer-inner {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .image-and-faq__answer,
    .image-and-faq__answer-inner,
    .image-and-faq__icon::before {
        transition: none;
    }
}

.image-and-faq__answer-inner > *:first-child {
    margin-top: 0;
}

.image-and-faq__answer-inner > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .image-and-faq__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .image-and-faq__media,
    .image-and-faq--image-right .image-and-faq__media {
        order: -1;
        min-height: 360px;
    }

    .image-and-faq--image-right .image-and-faq__content {
        order: 0;
    }

    .image-and-faq__content {
        padding: clamp(2rem, 6vw, 3.5rem) var(--container-padding-x);
    }
}

@media (max-width: 640px) {
    .image-and-faq__media {
        min-height: 280px;
    }
}
