.root {
    display: flex;
    width: 240px;
    padding-right: var(--spacing-16);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-24);
}

.title {
    opacity: 0.5;
}

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.listItem {
    margin: var(--spacing-24) 0;

    &:first-child {
        margin-top: 0;
    }

    &:last-child {
        margin-bottom: 0;
    }

    &:hover {
        opacity: 0.8;
    }
}

.link {
    color: var(--color-text-primary-inverted);
    line-height: var(--line-height-sm);
    text-decoration: none;
}

@media (width < 1440px) {
    .root {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-20);
        width: 180px;
        padding-right: 0;
    }
    .listItem {
        margin: var(--spacing-20) 0;
    }
    .link {
        line-height: var(--line-height-lg);
    }

    .linkText {
        letter-spacing: var(--letter-spacing-negative-lg);
    }

    .title {
        font-size: var(--font-size-xs);
    }
}

@media (width < 1024px) {
    .root {
        display: flex;
        width: 252px;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-20);
    }
}

@media (width < 768px) {
    .root {
        display: flex;
        align-items: flex-start;
        align-self: stretch;
    }

    .title {
        display: none;
    }
}
