.aurora-member-stories__list {
    display: flex;
    flex-direction: column;
}

.aurora-member-story {
    --member-story-avatar-size: 130px;

    display: grid;
    grid-template-columns: var(--member-story-avatar-size) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.4rem, 3.5vw, 3.5rem);
    width: 100%;
    max-width: 1100px;
    margin: 0;
    padding: 2.5rem 0;
    border-bottom: 2px solid var(--cream-color-darker);
}

.aurora-member-story:first-child {
    padding-top: 0;
}

.aurora-member-story:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.aurora-member-story__content {
    min-width: 0;
}

.aurora-member-story__title {
    margin: 0;
    max-width: 900px;
}

.aurora-member-story__member {
    margin: 1rem 0 0;
}

.aurora-member-story__media {
    width: var(--member-story-avatar-size);
    height: var(--member-story-avatar-size);
}

.aurora-member-story__photo,
.aurora-member-story__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.aurora-member-story__photo {
    object-fit: cover;
}

.aurora-member-story__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-color);
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 600;
    line-height: 1;
}

.aurora-member-story__details {
    margin-top: 1.5rem;
}

.aurora-member-story__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 2px var(--purple-color) inset;
    color: var(--purple-color);
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s;
}

.aurora-member-story__toggle::-webkit-details-marker {
    display: none;
}

.aurora-member-story__toggle::marker {
    content: '';
}

.aurora-member-story__toggle:hover,
.aurora-member-story__toggle:focus-visible,
.aurora-member-story__details[open] .aurora-member-story__toggle {
    background: var(--purple-color);
    color: #fff;
}

.aurora-member-story__toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.aurora-member-story__toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.aurora-member-story__details[open] .aurora-member-story__toggle i {
    transform: rotate(180deg);
}

.aurora-member-story__toggle-close {
    display: none;
}

.aurora-member-story__details[open] .aurora-member-story__toggle-open {
    display: none;
}

.aurora-member-story__details[open] .aurora-member-story__toggle-close {
    display: inline;
}

.aurora-member-story__description {
    max-width: 900px;
    padding-top: 1.75rem;
}

.aurora-member-story__description > :first-child {
    margin-top: 0;
}

.aurora-member-story__description > :last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .aurora-member-story {
        --member-story-avatar-size: 80px;

        gap: 1.25rem;
        padding: 2rem 0;
    }

    .aurora-member-story__photo,
    .aurora-member-story__avatar {
        border-radius: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .aurora-member-story {
        --member-story-avatar-size: 64px;

        gap: 1rem;
        padding: 1.5rem 0;
    }

    .aurora-member-story__toggle {
        padding: 0.45rem 0.8rem;
    }
}
