.rp-faqs {
    padding: 150px 0;
    background: #fafafa;
}

.rp-faqs__content {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 50px;
}

.rp-faqs__title-container {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 120px;
    align-self: start;
}

.rp-faqs__label {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 10px;
    font-weight: 400;
    line-height: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.rp-faqs__title {
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 60px;
    font-weight: 400;
    line-height: 66px;
    margin: 15px 0 30px 0;
}

.rp-faqs__cta {
    display: flex;
    height: 48px;
    width: fit-content;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.rp-faqs__list-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.rp-faqs__list {
    display: flex;
    flex-direction: column;
    max-width: 730px;
    width: 100%;
}

.rp-faqs__item {
    border-bottom: 1px solid #e8e4e5;
}

.rp-faqs__item:last-of-type {
    border-bottom: 1px solid transparent;
}

.rp-faqs__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.rp-faqs__question {
    font-family: var(--font-inter);
    color: rgba(13, 9, 10, 0.7);
    font-size: 18px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.36px;
}

.rp-faqs__question p {
    margin: 0;
}

.rp-faqs__icon {
    color: rgba(13, 9, 10, 0.7);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.rp-faqs__header[aria-expanded="true"] .rp-faqs__icon {
    transform: rotate(180deg);
}

.rp-faqs__answer {
    overflow: hidden;
}

.rp-faqs__answer-inner {
    padding-bottom: 24px;
    font-family: var(--font-inter);
    color: rgba(13, 9, 10, 0.7);
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}

.rp-faqs__answer-inner p:last-child {
    margin: 0;
}

@media (max-width: 1024px) {
    .rp-faqs__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rp-faqs__title-container {
        position: static;
    }

    .rp-faqs__list-container {
        justify-content: flex-start;
    }

    .rp-faqs__list {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .rp-faqs {
        padding: 80px 0;
    }

    .rp-faqs__title {
        font-size: 36px;
        line-height: 1.2;
    }
}
